static void |
AppCluster.checkConfiguration(Set<? extends NodeConfiguration> nodeConfigurations,
Set<? extends ResourceConfiguration<?,?>> resourceConfigurations) |
Performs a consistency check on a configuration.
|
boolean |
AppClusterPropertiesConfiguration.getBoolean(String propertyName) |
|
String |
AppClusterConfiguration.getDisplay() |
|
String |
AppClusterPropertiesConfiguration.getDisplay() |
|
int |
AppClusterPropertiesConfiguration.getInt(String propertyName) |
|
Name |
AppClusterPropertiesConfiguration.getName(String propertyName) |
|
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,RN>> |
ResourceConfiguration.getResourceNodeConfigurations() |
Gets the source of per-node resource configurations.
|
abstract Set<? extends ResourceNodePropertiesConfiguration<R,RN>> |
ResourcePropertiesConfiguration.getResourceNodeConfigurations() |
|
Schedule |
AppClusterPropertiesConfiguration.getSchedule(String propertyName) |
|
String |
AppClusterPropertiesConfiguration.getString(String propertyName,
boolean required) |
Gets a trimmed property value, if required, not allowing null or empty string.
|
Schedule |
CronResourceConfiguration.getSynchronizeSchedule(RN localResourceNode,
RN remoteResourceNode) |
Gets the synchronization schedule between the local node and the remote node.
|
Schedule |
CronResourcePropertiesConfiguration.getSynchronizeSchedule(RN localResourceNode,
RN remoteResourceNode) |
|
Schedule |
CronResourceConfiguration.getTestSchedule(RN localResourceNode,
RN remoteResourceNode) |
Gets the test schedule between the local node and the remote node.
|
Schedule |
CronResourcePropertiesConfiguration.getTestSchedule(RN localResourceNode,
RN remoteResourceNode) |
|
Set<? extends Name> |
AppClusterPropertiesConfiguration.getUniqueNames(String propertyName) |
Gets a unique set of trimmed names.
|
Set<String> |
AppClusterPropertiesConfiguration.getUniqueStrings(String propertyName,
boolean required) |
Gets a unique set of trimmed strings.
|
boolean |
AppClusterConfiguration.isEnabled() |
|
boolean |
AppClusterPropertiesConfiguration.isEnabled() |
|
R |
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 RN |
CronResourceNodePropertiesConfiguration.newResourceNode(Node node) |
|
RN |
ResourceNodeConfiguration.newResourceNode(Node node) |
Creates a new resource node from this configuration.
|
abstract RN |
ResourceNodePropertiesConfiguration.newResourceNode(Node node) |
|
ResourcePropertiesConfiguration<R,RN> |
ResourcePropertiesConfigurationFactory.newResourcePropertiesConfiguration(AppClusterPropertiesConfiguration properties,
String id) |
|
protected abstract CronResourceSynchronizer<R,RN> |
CronResource.newResourceSynchronizer(RN localResourceNode,
RN remoteResourceNode,
ResourceConfiguration<R,RN> resourceConfiguration) |
|
protected abstract ResourceSynchronizer<R,RN> |
Resource.newResourceSynchronizer(RN localResourceNode,
RN remoteResourceNode,
ResourceConfiguration<R,RN> resourceConfiguration) |
Creates the resource synchronizer for this specific type of resource or null
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() |
|