Uses of Class
com.aoapps.appcluster.AppClusterConfigurationException
-
Uses of AppClusterConfigurationException in com.aoapps.appcluster
Modifier and TypeMethodDescriptionstatic void
AppCluster.checkConfiguration
(Set<? extends NodeConfiguration> nodeConfigurations, Set<? extends ResourceConfiguration<?, ?>> resourceConfigurations) Performs a consistency check on a configuration.boolean
AppClusterPropertiesConfiguration.getBoolean
(String propertyName) AppClusterConfiguration.getDisplay()
AppClusterPropertiesConfiguration.getDisplay()
int
Set
<? extends NodeConfiguration> AppClusterConfiguration.getNodeConfigurations()
Gets the set of nodes for the cluster.Set
<? extends NodePropertiesConfiguration> AppClusterPropertiesConfiguration.getNodeConfigurations()
Set
<? extends ResourceConfiguration<?, ?>> AppClusterConfiguration.getResourceConfigurations()
Gets the set of resources for the cluster.Set
<? extends ResourceConfiguration<?, ?>> AppClusterPropertiesConfiguration.getResourceConfigurations()
Set
<? extends ResourceNodeConfiguration<R, N>> ResourceConfiguration.getResourceNodeConfigurations()
Gets the source of per-node resource configurations.abstract Set
<? extends ResourceNodePropertiesConfiguration<R, N>> ResourcePropertiesConfiguration.getResourceNodeConfigurations()
AppClusterPropertiesConfiguration.getSchedule
(String propertyName) Gets a trimmed property value, if required, not allowing null or empty string.CronResourceConfiguration.getSynchronizeSchedule
(N localResourceNode, N remoteResourceNode) Gets the synchronization schedule between the local node and the remote node.CronResourcePropertiesConfiguration.getSynchronizeSchedule
(N localResourceNode, N remoteResourceNode) CronResourceConfiguration.getTestSchedule
(N localResourceNode, N remoteResourceNode) Gets the test schedule between the local node and the remote node.CronResourcePropertiesConfiguration.getTestSchedule
(N localResourceNode, N remoteResourceNode) AppClusterPropertiesConfiguration.getUniqueNames
(String propertyName) Gets a unique set of trimmed names.AppClusterPropertiesConfiguration.getUniqueStrings
(String propertyName, boolean required) Gets a unique set of trimmed strings.boolean
AppClusterConfiguration.isEnabled()
boolean
AppClusterPropertiesConfiguration.isEnabled()
ResourceConfiguration.newResource
(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) Creates a new resource from this configuration.abstract R
ResourcePropertiesConfiguration.newResource
(AppCluster cluster, Collection<? extends ResourceNode<?, ?>> resourceNodes) abstract N
CronResourceNodePropertiesConfiguration.newResourceNode
(Node node) ResourceNodeConfiguration.newResourceNode
(Node node) Creates a new resource node from this configuration.abstract N
ResourceNodePropertiesConfiguration.newResourceNode
(Node node) ResourcePropertiesConfigurationFactory.newResourcePropertiesConfiguration
(AppClusterPropertiesConfiguration properties, String id) protected abstract CronResourceSynchronizer
<R, N> CronResource.newResourceSynchronizer
(N localResourceNode, N remoteResourceNode, ResourceConfiguration<R, N> resourceConfiguration) protected abstract ResourceSynchronizer
<R, N> Resource.newResourceSynchronizer
(N localResourceNode, N remoteResourceNode, ResourceConfiguration<R, N> resourceConfiguration) Creates the resource synchronizer for this specific type of resource ornull
if never performs any synchronization between these two nodes.void
AppCluster.start()
Starts this cluster manager.void
AppClusterConfiguration.start()
Called as the AppCluster starts, before any configuration values are accessed or listeners are added.void
AppClusterPropertiesConfiguration.start()
ModifierConstructorDescriptionprotected
CronResource
(AppCluster cluster, CronResourceConfiguration<R, N> resourceConfiguration, Collection<? extends ResourceNode<?, ?>> resourceNodes) protected
CronResourceNodePropertiesConfiguration
(AppClusterPropertiesConfiguration properties, String resourceId, String nodeId) protected
protected
NodePropertiesConfiguration
(AppClusterPropertiesConfiguration properties, String id) protected
Resource
(AppCluster cluster, ResourceConfiguration<R, N> resourceConfiguration, Collection<? extends ResourceNode<?, ?>> resourceNodes) protected
ResourceNodePropertiesConfiguration
(AppClusterPropertiesConfiguration properties, String resourceId, String nodeId) protected
ResourcePropertiesConfiguration
(AppClusterPropertiesConfiguration properties, String id)