Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Interface CronResourceConfiguration<R extends Resource<R,RN>,RN extends ResourceNode<R,RN>>
-
- All Superinterfaces:
ResourceConfiguration<R,RN>
- All Known Implementing Classes:
CronResourcePropertiesConfiguration
public interface CronResourceConfiguration<R extends Resource<R,RN>,RN extends ResourceNode<R,RN>> extends ResourceConfiguration<R,RN>
The configuration for one resource that is scheduled as a CronJob.- Author:
- AO Industries, Inc.
- See Also:
CronJob
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SchedulegetSynchronizeSchedule(RN localResourceNode, RN remoteResourceNode)Gets the synchronization schedule between the local node and the remote node.intgetSynchronizeTimeout()Gets the number of seconds before a synchronization pass times-out.SchedulegetTestSchedule(RN localResourceNode, RN remoteResourceNode)Gets the test schedule between the local node and the remote node.intgetTestTimeout()Gets the number of seconds before a test pass times-out.-
Methods inherited from interface com.aoapps.appcluster.ResourceConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getResourceNodeConfigurations, getType, hashCode, isEnabled, newResource, toString
-
-
-
-
Method Detail
-
getSynchronizeTimeout
int getSynchronizeTimeout()
Gets the number of seconds before a synchronization pass times-out.
-
getSynchronizeSchedule
Schedule getSynchronizeSchedule(RN localResourceNode, RN remoteResourceNode) throws AppClusterConfigurationException
Gets the synchronization schedule between the local node and the remote node.- Throws:
AppClusterConfigurationException
-
getTestTimeout
int getTestTimeout()
Gets the number of seconds before a test pass times-out.
-
getTestSchedule
Schedule getTestSchedule(RN localResourceNode, RN remoteResourceNode) throws AppClusterConfigurationException
Gets the test schedule between the local node and the remote node.- Throws:
AppClusterConfigurationException
-
-