Module com.aoapps.appcluster.core
Package com.aoapps.appcluster
Interface CronResourceConfiguration<R extends Resource<R,N>,N extends ResourceNode<R,N>>
- All Superinterfaces:
ResourceConfiguration<R,
N>
- All Known Implementing Classes:
CronResourcePropertiesConfiguration
public interface CronResourceConfiguration<R extends Resource<R,N>,N extends ResourceNode<R,N>>
extends ResourceConfiguration<R,N>
The configuration for one resource that is scheduled as a CronJob.
- Author:
- AO Industries, Inc.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetSynchronizeSchedule
(N localResourceNode, N remoteResourceNode) Gets the synchronization schedule between the local node and the remote node.int
Gets the number of seconds before a synchronization pass times-out.getTestSchedule
(N localResourceNode, N remoteResourceNode) Gets the test schedule between the local node and the remote node.int
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 Details
-
getSynchronizeTimeout
int getSynchronizeTimeout()Gets the number of seconds before a synchronization pass times-out. -
getSynchronizeSchedule
Schedule getSynchronizeSchedule(N localResourceNode, N 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(N localResourceNode, N remoteResourceNode) throws AppClusterConfigurationException Gets the test schedule between the local node and the remote node.- Throws:
AppClusterConfigurationException
-