java.lang.Object
com.aoapps.appcluster.Resource<ImapResource,ImapResourceNode>
com.aoapps.appcluster.CronResource<ImapResource,ImapResourceNode>
com.aoapps.appcluster.imap.ImapResource
Resources are synchronized through IMAP.
- Author:
- AO Industries, Inc.
-
Constructor Summary
ModifierConstructorDescriptionprotected
ImapResource
(AppCluster cluster, ImapResourceConfiguration resourceConfiguration, Collection<? extends ResourceNode<?, ?>> resourceNodes) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Multi master synchronization is not supported for IMAP.protected ImapResourceSynchronizer
newResourceSynchronizer
(ImapResourceNode localResourceNode, ImapResourceNode remoteResourceNode, ResourceConfiguration<ImapResource, ImapResourceNode> resourceConfiguration) Methods inherited from class com.aoapps.appcluster.CronResource
getSynchronizeTimeout, getTestTimeout
Methods inherited from class com.aoapps.appcluster.Resource
equals, getCluster, getDisplay, getDnsMonitor, getEnabledNameservers, getId, getMasterRecords, getMasterRecordsTtl, getResourceNodes, getStatus, getSynchronizerMap, getSynchronizers, getType, hashCode, isEnabled, toString
-
Constructor Details
-
ImapResource
protected ImapResource(AppCluster cluster, ImapResourceConfiguration resourceConfiguration, Collection<? extends ResourceNode<?, ?>> resourceNodes) throws AppClusterConfigurationException- Throws:
AppClusterConfigurationException
-
-
Method Details
-
getAllowMultiMaster
public boolean getAllowMultiMaster()Multi master synchronization is not supported for IMAP.- Specified by:
getAllowMultiMaster
in classResource<ImapResource,
ImapResourceNode>
-
newResourceSynchronizer
protected ImapResourceSynchronizer newResourceSynchronizer(ImapResourceNode localResourceNode, ImapResourceNode remoteResourceNode, ResourceConfiguration<ImapResource, ImapResourceNode> resourceConfiguration) throws AppClusterConfigurationException- Specified by:
newResourceSynchronizer
in classCronResource<ImapResource,
ImapResourceNode> - Throws:
AppClusterConfigurationException
-