- All Known Implementing Classes:
AppClusterPropertiesConfiguration
public interface AppClusterConfiguration
The configuration for one AppCluster manager.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Will be called when the configuration has changed in any way.Set
<? extends NodeConfiguration> Gets the set of nodes for the cluster.Set
<? extends ResourceConfiguration<?, ?>> Gets the set of resources for the cluster.boolean
void
Removes listener of configuration changes.void
start()
Called as the AppCluster starts, before any configuration values are accessed or listeners are added.void
stop()
Called as the AppCluster stops, after all configuration values have been accessed and all listeners have been removed.
-
Method Details
-
start
Called as the AppCluster starts, before any configuration values are accessed or listeners are added.- Throws:
AppClusterConfigurationException
-
stop
void stop()Called as the AppCluster stops, after all configuration values have been accessed and all listeners have been removed. -
addConfigurationListener
Will be called when the configuration has changed in any way. -
removeConfigurationListener
Removes listener of configuration changes. -
isEnabled
- Throws:
AppClusterConfigurationException
- See Also:
-
getDisplay
- Throws:
AppClusterConfigurationException
- See Also:
-
getNodeConfigurations
Gets the set of nodes for the cluster.- Throws:
AppClusterConfigurationException
-
getResourceConfigurations
Set<? extends ResourceConfiguration<?,?>> getResourceConfigurations() throws AppClusterConfigurationExceptionGets the set of resources for the cluster.- Throws:
AppClusterConfigurationException
-