Module com.aoapps.appcluster.csync2
Package com.aoapps.appcluster.csync2
Interface Csync2ResourceConfiguration
- All Superinterfaces:
CronResourceConfiguration<Csync2Resource,
,Csync2ResourceNode> ResourceConfiguration<Csync2Resource,
Csync2ResourceNode>
- All Known Implementing Classes:
Csync2ResourcePropertiesConfiguration
public interface Csync2ResourceConfiguration
extends CronResourceConfiguration<Csync2Resource,Csync2ResourceNode>
The configuration for a csync2 resource.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets all the groups that will be synchronized by csync2 for this resource.Set
<? extends Csync2ResourceNodeConfiguration> newResource
(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) Methods inherited from interface com.aoapps.appcluster.CronResourceConfiguration
getSynchronizeSchedule, getSynchronizeTimeout, getTestSchedule, getTestTimeout
Methods inherited from interface com.aoapps.appcluster.ResourceConfiguration
equals, getDisplay, getId, getMasterRecords, getMasterRecordsTtl, getType, hashCode, isEnabled, toString
-
Method Details
-
getAllowMultiMaster
boolean getAllowMultiMaster() -
getGroups
Collection<String> getGroups()Gets all the groups that will be synchronized by csync2 for this resource. -
getResourceNodeConfigurations
Set<? extends Csync2ResourceNodeConfiguration> getResourceNodeConfigurations() throws AppClusterConfigurationException- Specified by:
getResourceNodeConfigurations
in interfaceResourceConfiguration<Csync2Resource,
Csync2ResourceNode> - Throws:
AppClusterConfigurationException
-
newResource
Csync2Resource newResource(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) throws AppClusterConfigurationException- Specified by:
newResource
in interfaceResourceConfiguration<Csync2Resource,
Csync2ResourceNode> - Throws:
AppClusterConfigurationException
-