Index

A C D E G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form

A

addConfigurationListener(AppClusterConfigurationListener) - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Will be called when the configuration has changed in any way.
addConfigurationListener(AppClusterConfigurationListener) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
addResourceListener(ResourceListener) - Method in class com.aoapps.appcluster.AppCluster
Will be called when the resource result has changed in any way.
AppCluster - Class in com.aoapps.appcluster
Central AppCluster manager.
AppCluster(AppClusterConfiguration) - Constructor for class com.aoapps.appcluster.AppCluster
Creates a cluster with the provided configuration.
AppCluster(File) - Constructor for class com.aoapps.appcluster.AppCluster
Creates a cluster loading configuration from the provided properties file.
AppCluster(Properties) - Constructor for class com.aoapps.appcluster.AppCluster
Creates a cluster configurated from the provided properties file.
AppClusterConfiguration - Interface in com.aoapps.appcluster
The configuration for one AppCluster manager.
AppClusterConfigurationException - Exception Class in com.aoapps.appcluster
 
AppClusterConfigurationException() - Constructor for exception class com.aoapps.appcluster.AppClusterConfigurationException
 
AppClusterConfigurationException(String) - Constructor for exception class com.aoapps.appcluster.AppClusterConfigurationException
 
AppClusterConfigurationException(String, Throwable) - Constructor for exception class com.aoapps.appcluster.AppClusterConfigurationException
 
AppClusterConfigurationException(Throwable) - Constructor for exception class com.aoapps.appcluster.AppClusterConfigurationException
 
AppClusterConfigurationListener - Interface in com.aoapps.appcluster
 
AppClusterException - Exception Class in com.aoapps.appcluster
 
AppClusterException() - Constructor for exception class com.aoapps.appcluster.AppClusterException
 
AppClusterException(String) - Constructor for exception class com.aoapps.appcluster.AppClusterException
 
AppClusterException(String, Throwable) - Constructor for exception class com.aoapps.appcluster.AppClusterException
 
AppClusterException(Throwable) - Constructor for exception class com.aoapps.appcluster.AppClusterException
 
AppClusterPropertiesConfiguration - Class in com.aoapps.appcluster
The configuration is provided in a properties file.
AppClusterPropertiesConfiguration(File) - Constructor for class com.aoapps.appcluster.AppClusterPropertiesConfiguration
Loads the properties from the provided file.
AppClusterPropertiesConfiguration(Properties) - Constructor for class com.aoapps.appcluster.AppClusterPropertiesConfiguration
Uses the provided configuration.

C

canSynchronize(ResourceSynchronizationMode, ResourceNodeDnsResult, ResourceNodeDnsResult) - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Checks if a resource may be synchronized given the current DNS state of the nodes.
canSynchronizeNow(ResourceSynchronizationMode) - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Determines if the synchronizer can run now.
checkConfiguration(Set<? extends NodeConfiguration>, Set<? extends ResourceConfiguration<?, ?>>) - Static method in class com.aoapps.appcluster.AppCluster
Performs a consistency check on a configuration.
com.aoapps.appcluster - package com.aoapps.appcluster
 
com.aoapps.appcluster.core - module com.aoapps.appcluster.core
 
CONSISTENT - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
CronResource<R,N> - Class in com.aoapps.appcluster
A resource that is scheduled by CronDaemon.
CronResource(AppCluster, CronResourceConfiguration<R, N>, Collection<? extends ResourceNode<?, ?>>) - Constructor for class com.aoapps.appcluster.CronResource
 
CronResourceConfiguration<R,N> - Interface in com.aoapps.appcluster
The configuration for one resource that is scheduled as a CronJob.
CronResourceNode<R,N> - Class in com.aoapps.appcluster
The node settings include cron details.
CronResourceNode(Node, CronResourceNodeConfiguration<R, N>) - Constructor for class com.aoapps.appcluster.CronResourceNode
 
CronResourceNodeConfiguration<R,N> - Interface in com.aoapps.appcluster
The configuration for one resource node powered by cron.
CronResourceNodePropertiesConfiguration<R,N> - Class in com.aoapps.appcluster
The configuration for a cron resource.
CronResourceNodePropertiesConfiguration(AppClusterPropertiesConfiguration, String, String) - Constructor for class com.aoapps.appcluster.CronResourceNodePropertiesConfiguration
 
CronResourcePropertiesConfiguration<R,N> - Class in com.aoapps.appcluster
The configuration for one resource that is scheduled as a CronJob.
CronResourcePropertiesConfiguration(AppClusterPropertiesConfiguration, String) - Constructor for class com.aoapps.appcluster.CronResourcePropertiesConfiguration
 
CronResourceSynchronizer<R,N> - Class in com.aoapps.appcluster
Synchronizes resource based on cron-like schedules.
CronResourceSynchronizer(N, N, Schedule, Schedule) - Constructor for class com.aoapps.appcluster.CronResourceSynchronizer
 

D

DISABLED - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
DISABLED - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
DISABLED - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
DISABLED - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizerState
 
display - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 
display - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
DNS_ATTEMPTS - Static variable in class com.aoapps.appcluster.ResourceDnsMonitor
The number of DNS tries.
DNS_CHECK_INTERVAL - Static variable in class com.aoapps.appcluster.ResourceDnsMonitor
Checks the DNS settings once every 30 seconds.
DNS_CHECK_TIMEOUT - Static variable in class com.aoapps.appcluster.ResourceDnsMonitor
DNS queries time-out at 30 seconds.
DnsLookupResult - Class in com.aoapps.appcluster
Contains the results of one DNS record lookup.
DnsLookupStatus - Enum in com.aoapps.appcluster
The set of statuses that apply to individual DNS records.

E

enabled - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 
enabled - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.DnsLookupResult
 
equals(Object) - Method in class com.aoapps.appcluster.Nameserver
 
equals(Object) - Method in class com.aoapps.appcluster.Node
 
equals(Object) - Method in interface com.aoapps.appcluster.NodeConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.Resource
 
equals(Object) - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.ResourceNode
 
equals(Object) - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
equals(Object) - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
ERROR - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
ERROR - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
ERROR_SECONDS - Static variable in class com.aoapps.appcluster.ResourceDnsResult
 

G

getAddresses() - Method in class com.aoapps.appcluster.DnsLookupResult
Only relevant for SUCCESSFUL lookups.
getAllowMultiMaster() - Method in class com.aoapps.appcluster.Resource
Gets if this resource allows multiple master servers.
getBoolean(String) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getCanSynchronizeNow() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Convenience method for JavaBeans property.
getCanTestNow() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Convenience method for JavaBeans property.
getCluster() - Method in class com.aoapps.appcluster.Nameserver
Gets the cluster this nameserver is part of.
getCluster() - Method in class com.aoapps.appcluster.Resource
Gets the cluster this resource is part of.
getCssStyle() - Method in enum com.aoapps.appcluster.NodeDnsStatus
Gets the CSS style to use for this status or "" for no specific style requirement.
getCssStyle() - Method in enum com.aoapps.appcluster.ResourceStatus
Gets the CSS style to use for this status or "" for no specific style requirement.
getCssStyle() - Method in enum com.aoapps.appcluster.ResourceSynchronizerState
Gets the CSS style to use for this status or "" for no specific style requirement.
getDescription() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
Gets the description for this step.
getDisplay() - Method in class com.aoapps.appcluster.AppCluster
Gets the display name for this cluster or null if not started.
getDisplay() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
 
getDisplay() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getDisplay() - Method in class com.aoapps.appcluster.Node
Gets the display name of this node.
getDisplay() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
getDisplay() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
getDisplay() - Method in class com.aoapps.appcluster.Resource
Gets the display name of this resource.
getDisplay() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
getDisplay() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getDnsMonitor() - Method in class com.aoapps.appcluster.Resource
Gets the DNS monitor for this resource.
getDnsStatus() - Method in class com.aoapps.appcluster.ResourceNode
Gets the current DNS status of this resource node.
getEnabledNameservers() - Method in class com.aoapps.appcluster.Resource
Gets the set of all nameservers used by all enabled nodes.
getEndTime() - Method in class com.aoapps.appcluster.ResourceDnsResult
 
getEndTime() - Method in interface com.aoapps.appcluster.ResourceResult
 
getEndTime() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
The end time is the latest end time of any step.
getEndTime() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
 
getErrors() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
Gets the errors associated with this test or empty list for none.
getHostname() - Method in class com.aoapps.appcluster.Nameserver
Gets the hostname of this nameserver.
getHostname() - Method in class com.aoapps.appcluster.Node
Gets the hostname of the machine that runs this node.
getHostname() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
getHostname() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
getId() - Method in class com.aoapps.appcluster.Node
Gets the unique identifier for this node.
getId() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
getId() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
getId() - Method in class com.aoapps.appcluster.Resource
The unique ID of this resource.
getId() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
getId() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getInt(String) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getLastResult() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
 
getLastResult() - Method in class com.aoapps.appcluster.ResourceDnsMonitor
Gets the last result.
getLastResult() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets the last synchronization result or null if unavailable.
getLocalHostname() - Method in class com.aoapps.appcluster.AppCluster
Gets the hostname used to determine which node this server represents or null if not started.
getLocalNode() - Method in class com.aoapps.appcluster.AppCluster
Gets the node this machine represents or null if this machine is not one of the nodes.
getLocalResourceNode() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
 
getLocalResourceNode() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets the local resource node.
getLocalUsername() - Method in class com.aoapps.appcluster.AppCluster
Gets the username used to determine which node this server represents or null if not started.
getLogLevel() - Method in enum com.aoapps.appcluster.ResourceStatus
Gets the log level recommended for messages associated with this status.
getMasterRecordLookups() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the mapping of all masterRecord DNS lookups in the form masterRecord->enabledNameserver->result.
getMasterRecords() - Method in class com.aoapps.appcluster.Resource
Gets the set of master records that must all by the same.
getMasterRecords() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
getMasterRecords() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getMasterRecordsTtl() - Method in class com.aoapps.appcluster.Resource
Gets the expected TTL value for the master record.
getMasterRecordsTtl() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
getMasterRecordsTtl() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getMasterStatus() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the status of the master records.
getMasterStatusMessages() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the master status messages.
getMode() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
Gets the mode of this synchronization.
getName() - Method in class com.aoapps.appcluster.DnsLookupResult
 
getName() - Method in enum com.aoapps.appcluster.NodeDnsStatus
JavaBeans compatibility.
getName() - Method in enum com.aoapps.appcluster.ResourceStatus
JavaBeans compatibility.
getName() - Method in enum com.aoapps.appcluster.ResourceSynchronizationMode
JavaBeans compatibility.
getName() - Method in enum com.aoapps.appcluster.ResourceSynchronizerState
JavaBeans compatibility.
getName(String) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getNameservers() - Method in class com.aoapps.appcluster.Node
Gets the set of nameservers that are local to the machine running this node.
getNameservers() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
getNameservers() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
getNode() - Method in class com.aoapps.appcluster.ResourceNode
Gets the node this represents.
getNode(String) - Method in class com.aoapps.appcluster.AppCluster
Gets a node given its ID or null if not found.
getNodeConfigurations() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Gets the set of nodes for the cluster.
getNodeConfigurations() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getNodeId() - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
Gets the unique ID of the node this configuration represents.
getNodeId() - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
getNodeMap() - Method in class com.aoapps.appcluster.AppCluster
Gets a map view of the nodes, keyed by their id.
getNodeRecordLookups() - Method in class com.aoapps.appcluster.ResourceNodeDnsResult
Gets the mapping of all nodeRecord DNS lookups in the form nodeRecord->enabledNameserver->result.
getNodeRecords() - Method in class com.aoapps.appcluster.ResourceNode
Gets the set of node DNS records that must all by the same and match the resource's masterRecords for this node to be considered a master.
getNodeRecords() - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
 
getNodeRecords() - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
getNodeResultMap() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the result of each node.
getNodeResults() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the result of each node.
getNodes() - Method in class com.aoapps.appcluster.AppCluster
Gets the set of all nodes or empty set if not started.
getNodeStatus() - Method in class com.aoapps.appcluster.ResourceNodeDnsResult
Gets the status of the node.
getNodeStatusMessages() - Method in class com.aoapps.appcluster.ResourceNodeDnsResult
Gets the node status messages.
getOutputs() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
Gets the outputs associated with this test or empty list for none.
getRemoteResourceNode() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
 
getRemoteResourceNode() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets the remote resource node.
getResource() - Method in class com.aoapps.appcluster.ResourceDnsMonitor
Gets the resource this monitor is for.
getResource() - Method in class com.aoapps.appcluster.ResourceDnsResult
 
getResource() - Method in class com.aoapps.appcluster.ResourceNode
Gets the resource this represents.
getResourceConfigurations() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Gets the set of resources for the cluster.
getResourceConfigurations() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getResourceId() - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
Gets the unique ID of the resource this configuration represents.
getResourceId() - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
getResourceMap() - Method in class com.aoapps.appcluster.AppCluster
Gets a map view of the resources keyed on String resourceId.
getResourceNode() - Method in class com.aoapps.appcluster.ResourceNodeDnsResult
 
getResourceNodeConfigurations() - Method in interface com.aoapps.appcluster.ResourceConfiguration
Gets the source of per-node resource configurations.
getResourceNodeConfigurations() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getResourceNodes() - Method in class com.aoapps.appcluster.Resource
 
getResources() - Method in class com.aoapps.appcluster.AppCluster
Gets the set of all resources or empty set if not started.
getResourceStatus() - Method in enum com.aoapps.appcluster.DnsLookupStatus
Gets the resource status that this DNS lookup status will cause.
getResourceStatus() - Method in enum com.aoapps.appcluster.MasterDnsStatus
Gets the resource status that this master DNS status will cause.
getResourceStatus() - Method in enum com.aoapps.appcluster.NodeDnsStatus
Gets the resource status that this node DNS status will cause.
getResourceStatus() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the ResourceStatus this result will cause.
getResourceStatus() - Method in interface com.aoapps.appcluster.ResourceResult
Gets the ResourceStatus this result will cause.
getResourceStatus() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
The resource status is the highest level resource status of any step.
getResourceStatus() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
Gets the resource status that this result will cause.
getResourceStatus() - Method in enum com.aoapps.appcluster.ResourceSynchronizerState
Gets the resource status that this synchronization status will cause.
getResultStatus() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets the synchronization result status.
getSchedule(String) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
getSecondsSince() - Method in class com.aoapps.appcluster.ResourceDnsResult
Gets the number of seconds since this result had started or null if not running.
getSecondsSinceStatus() - Method in class com.aoapps.appcluster.ResourceDnsResult
Matches the rules for resource status.
getStartedTime() - Method in class com.aoapps.appcluster.AppCluster
Gets the time this cluster was started or null if not running.
getStartTime() - Method in class com.aoapps.appcluster.ResourceDnsResult
 
getStartTime() - Method in interface com.aoapps.appcluster.ResourceResult
 
getStartTime() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
The start time is the earliest start time of any step.
getStartTime() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
 
getState() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
 
getState() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets the current synchronization state.
getStateMessage() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
 
getStateMessage() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Gets a description of the current state or null for no specific message.
getStatus() - Method in class com.aoapps.appcluster.AppCluster
Gets the overall status of the cluster based on started, enabled, and all resources.
getStatus() - Method in class com.aoapps.appcluster.DnsLookupResult
 
getStatus() - Method in class com.aoapps.appcluster.Nameserver
Gets the overall status of the this nameserver based on all resourceNodes that use this nameserver.
getStatus() - Method in class com.aoapps.appcluster.Node
Gets the overall status of the this node based on enabled and all resourceNodes.
getStatus() - Method in class com.aoapps.appcluster.Resource
Gets the status of this resource based on disabled, last monitoring results, and synchronization state.
getStatuses() - Method in class com.aoapps.appcluster.AppCluster
Gets all of the possible statuses for this cluster.
getStatusMessages() - Method in class com.aoapps.appcluster.DnsLookupResult
Gets the status messages for this lookup.
getSteps() - Method in class com.aoapps.appcluster.ResourceSynchronizationResult
Gets the steps for this synchronization.
getString(String, boolean) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
Gets a trimmed property value, if required, not allowing null or empty string.
getSynchronizationStatus() - Method in class com.aoapps.appcluster.ResourceNode
Gets the synchronization status for this resource node as a remote node or null if this is not a remote node.
getSynchronizerMap() - Method in class com.aoapps.appcluster.Resource
Gets a map-view of the resource synchronizers keyed on remote node.
getSynchronizers() - Method in class com.aoapps.appcluster.Resource
Gets the set of resource synchronizers.
getSynchronizeSchedule() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Gets the synchronize schedule.
getSynchronizeSchedule(N, N) - Method in interface com.aoapps.appcluster.CronResourceConfiguration
Gets the synchronization schedule between the local node and the remote node.
getSynchronizeSchedule(N, N) - Method in class com.aoapps.appcluster.CronResourcePropertiesConfiguration
 
getSynchronizeTimeout() - Method in class com.aoapps.appcluster.CronResource
The synchronize timeout for this resource in seconds.
getSynchronizeTimeout() - Method in interface com.aoapps.appcluster.CronResourceConfiguration
Gets the number of seconds before a synchronization pass times-out.
getSynchronizeTimeout() - Method in class com.aoapps.appcluster.CronResourcePropertiesConfiguration
 
getTestSchedule() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Gets the test schedule.
getTestSchedule(N, N) - Method in interface com.aoapps.appcluster.CronResourceConfiguration
Gets the test schedule between the local node and the remote node.
getTestSchedule(N, N) - Method in class com.aoapps.appcluster.CronResourcePropertiesConfiguration
 
getTestTimeout() - Method in class com.aoapps.appcluster.CronResource
The test timeout for this resource in seconds.
getTestTimeout() - Method in interface com.aoapps.appcluster.CronResourceConfiguration
Gets the number of seconds before a test pass times-out.
getTestTimeout() - Method in class com.aoapps.appcluster.CronResourcePropertiesConfiguration
 
getType() - Method in class com.aoapps.appcluster.Resource
Gets the replication type of this resource.
getType() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
getType() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
getUniqueNames(String) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
Gets a unique set of trimmed names.
getUniqueStrings(String, boolean) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
Gets a unique set of trimmed strings.
getUsername() - Method in class com.aoapps.appcluster.Node
Gets the username the cluster must run as on the machine that runs this node.
getUsername() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
getUsername() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
getWarnings() - Method in class com.aoapps.appcluster.ResourceSynchronizationResultStep
Gets the warnings associated with this test or empty list for none.

H

hashCode() - Method in class com.aoapps.appcluster.DnsLookupResult
 
hashCode() - Method in class com.aoapps.appcluster.Nameserver
 
hashCode() - Method in class com.aoapps.appcluster.Node
 
hashCode() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
hashCode() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
hashCode() - Method in class com.aoapps.appcluster.Resource
 
hashCode() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
hashCode() - Method in class com.aoapps.appcluster.ResourceNode
 
hashCode() - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
 
hashCode() - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
hashCode() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
HEALTHY - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
HOST_NOT_FOUND - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
hostname - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 

I

id - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 
id - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
INCONSISTENT - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
INCONSISTENT - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
INCONSISTENT - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
isEnabled() - Method in class com.aoapps.appcluster.AppCluster
If the cluster is disabled, every node and resource will also be disabled.
isEnabled() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
 
isEnabled() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
isEnabled() - Method in class com.aoapps.appcluster.Node
Determines if both the cluster and this node are enabled.
isEnabled() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
isEnabled() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
isEnabled() - Method in class com.aoapps.appcluster.Resource
Determines if both the cluster and this resource are enabled.
isEnabled() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
isEnabled() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
isRunning() - Method in class com.aoapps.appcluster.AppCluster
Checks if this cluster is running.

L

localResourceNode - Variable in class com.aoapps.appcluster.ResourceSynchronizer
 
LoggerResourceListener - Class in com.aoapps.appcluster
Logs all changes of resource state to the logger.
LoggerResourceListener() - Constructor for class com.aoapps.appcluster.LoggerResourceListener
 

M

MASTER - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
MasterDnsStatus - Enum in com.aoapps.appcluster
The master records for a resource have a specific status as a result of its configuration and DNS responses.
masterRecords - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
masterRecordsTtl - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 

N

Nameserver - Class in com.aoapps.appcluster
A nameserver may be used by multiple nodes.
nameservers - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 
newResource(AppCluster, Collection<? extends ResourceNode<?, ?>>) - Method in interface com.aoapps.appcluster.ResourceConfiguration
Creates a new resource from this configuration.
newResource(AppCluster, Collection<? extends ResourceNode<?, ?>>) - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
newResourceNode(Node) - Method in class com.aoapps.appcluster.CronResourceNodePropertiesConfiguration
 
newResourceNode(Node) - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
Creates a new resource node from this configuration.
newResourceNode(Node) - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
newResourcePropertiesConfiguration(AppClusterPropertiesConfiguration, String) - Method in interface com.aoapps.appcluster.ResourcePropertiesConfigurationFactory
 
newResourceSynchronizer(N, N, ResourceConfiguration<R, N>) - Method in class com.aoapps.appcluster.CronResource
 
newResourceSynchronizer(N, N, ResourceConfiguration<R, N>) - Method in class com.aoapps.appcluster.Resource
Creates the resource synchronizer for this specific type of resource or null if never performs any synchronization between these two nodes.
Node - Class in com.aoapps.appcluster
One node within the cluster.
NodeConfiguration - Interface in com.aoapps.appcluster
The configuration for a node.
NodeDnsStatus - Enum in com.aoapps.appcluster
Each node has a specific status as a result of its configuration and DNS responses.
nodeId - Variable in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
NodePropertiesConfiguration - Class in com.aoapps.appcluster
The configuration for a node.
NodePropertiesConfiguration(AppClusterPropertiesConfiguration, String) - Constructor for class com.aoapps.appcluster.NodePropertiesConfiguration
 
nodeRecords - Variable in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 

O

onConfigurationChanged() - Method in interface com.aoapps.appcluster.AppClusterConfigurationListener
 
onResourceDnsResult(ResourceDnsResult, ResourceDnsResult) - Method in class com.aoapps.appcluster.LoggerResourceListener
 
onResourceDnsResult(ResourceDnsResult, ResourceDnsResult) - Method in interface com.aoapps.appcluster.ResourceListener
Called whenever a new result is available.
onResourceSynchronizationResult(ResourceSynchronizationResult, ResourceSynchronizationResult) - Method in class com.aoapps.appcluster.LoggerResourceListener
 
onResourceSynchronizationResult(ResourceSynchronizationResult, ResourceSynchronizationResult) - Method in interface com.aoapps.appcluster.ResourceListener
Called whenever a new synchronization result is available.

P

properties - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 
properties - Variable in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
properties - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 

R

remoteResourceNode - Variable in class com.aoapps.appcluster.ResourceSynchronizer
 
removeConfigurationListener(AppClusterConfigurationListener) - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Removes listener of configuration changes.
removeConfigurationListener(AppClusterConfigurationListener) - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
removeResourceListener(ResourceListener) - Method in class com.aoapps.appcluster.AppCluster
Removes listener of resource result changes.
Resource<R,N> - Class in com.aoapps.appcluster
Monitors the status of a resource by monitoring its role based on DNS entries and synchronizing the resource on an as-needed and/or scheduled basis.
Resource(AppCluster, ResourceConfiguration<R, N>, Collection<? extends ResourceNode<?, ?>>) - Constructor for class com.aoapps.appcluster.Resource
 
ResourceConfiguration<R,N> - Interface in com.aoapps.appcluster
The configuration for one resource.
ResourceDnsMonitor - Class in com.aoapps.appcluster
Monitors the status of a resource by monitoring its role based on DNS entries Monitors DNS entries to determine which nodes are masters and which are slaves while being careful to detect any inconsistent states.
ResourceDnsResult - Class in com.aoapps.appcluster
Contains the results of one DNS monitoring pass.
resourceId - Variable in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
ResourceListener - Interface in com.aoapps.appcluster
Is notified when the status of a resource changes.
ResourceNode<R,N> - Class in com.aoapps.appcluster
The node settings on a per-resource basis.
ResourceNode(Node, ResourceNodeConfiguration<R, N>) - Constructor for class com.aoapps.appcluster.ResourceNode
 
ResourceNodeConfiguration<R,N> - Interface in com.aoapps.appcluster
The configuration for one resource node.
ResourceNodeDnsResult - Class in com.aoapps.appcluster
Contains the results of one DNS monitoring pass for a single enabled node.
ResourceNodePropertiesConfiguration<R,N> - Class in com.aoapps.appcluster
The configuration for one resource node.
ResourceNodePropertiesConfiguration(AppClusterPropertiesConfiguration, String, String) - Constructor for class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
ResourcePropertiesConfiguration<R,N> - Class in com.aoapps.appcluster
The configuration for one resource.
ResourcePropertiesConfiguration(AppClusterPropertiesConfiguration, String) - Constructor for class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
ResourcePropertiesConfigurationFactory<R,N> - Interface in com.aoapps.appcluster
Loads custom types of resources from properties configuration.
ResourceResult - Interface in com.aoapps.appcluster
Information common to different types of resource results.
ResourceStatus - Enum in com.aoapps.appcluster
The overall status of a resource is based on its master records and its nodes.
ResourceSynchronizationMode - Enum in com.aoapps.appcluster
Contains the results of one resource synchronization.
ResourceSynchronizationResult - Class in com.aoapps.appcluster
Contains the results of one resource synchronization.
ResourceSynchronizationResult(ResourceNode<?, ?>, ResourceNode<?, ?>, ResourceSynchronizationMode, Collection<ResourceSynchronizationResultStep>) - Constructor for class com.aoapps.appcluster.ResourceSynchronizationResult
 
ResourceSynchronizationResultStep - Class in com.aoapps.appcluster
One step of the results of a resource synchronization (or test).
ResourceSynchronizationResultStep(long, long, ResourceStatus, String, CharSequence, CharSequence, CharSequence) - Constructor for class com.aoapps.appcluster.ResourceSynchronizationResultStep
 
ResourceSynchronizationResultStep(long, long, ResourceStatus, String, Collection<String>, Collection<String>, Collection<String>) - Constructor for class com.aoapps.appcluster.ResourceSynchronizationResultStep
 
ResourceSynchronizer<R,N> - Class in com.aoapps.appcluster
Each resource has one synchronizer between it and any other node for the resource.
ResourceSynchronizer(N, N) - Constructor for class com.aoapps.appcluster.ResourceSynchronizer
 
ResourceSynchronizerState - Enum in com.aoapps.appcluster
The possible states for resource synchronization.

S

SLAVE - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
SLEEPING - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizerState
 
start() - Method in class com.aoapps.appcluster.AppCluster
Starts this cluster manager.
start() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Called as the AppCluster starts, before any configuration values are accessed or listeners are added.
start() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
start() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
 
start() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Starts the synchronizer.
STARTING - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
STARTING - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
STARTING - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
stop() - Method in class com.aoapps.appcluster.AppCluster
Stops this cluster manager.
stop() - Method in interface com.aoapps.appcluster.AppClusterConfiguration
Called as the AppCluster stops, after all configuration values have been accessed and all listeners have been removed.
stop() - Method in class com.aoapps.appcluster.AppClusterPropertiesConfiguration
 
stop() - Method in class com.aoapps.appcluster.CronResourceSynchronizer
 
stop() - Method in class com.aoapps.appcluster.ResourceSynchronizer
Stops the synchronizer.
STOPPED - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
STOPPED - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
STOPPED - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
STOPPED - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizerState
 
SUCCESSFUL - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
synchronize(ResourceSynchronizationMode, ResourceNodeDnsResult, ResourceNodeDnsResult) - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Synchronizes (or tests) the resource.
SYNCHRONIZE - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizationMode
 
synchronizeNow(ResourceSynchronizationMode) - Method in class com.aoapps.appcluster.CronResourceSynchronizer
Schedules an immediate synchronization if the resource is enabled and sleeping.
synchronizeNow(ResourceSynchronizationMode) - Method in class com.aoapps.appcluster.ResourceSynchronizer
Schedules an immediate synchronization if possible.
SYNCHRONIZING - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizerState
 

T

TEST_ONLY - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizationMode
 
TESTING - Enum constant in enum com.aoapps.appcluster.ResourceSynchronizerState
 
toString() - Method in class com.aoapps.appcluster.AppCluster
 
toString() - Method in enum com.aoapps.appcluster.DnsLookupStatus
 
toString() - Method in enum com.aoapps.appcluster.MasterDnsStatus
 
toString() - Method in class com.aoapps.appcluster.Nameserver
 
toString() - Method in class com.aoapps.appcluster.Node
 
toString() - Method in interface com.aoapps.appcluster.NodeConfiguration
 
toString() - Method in enum com.aoapps.appcluster.NodeDnsStatus
 
toString() - Method in class com.aoapps.appcluster.NodePropertiesConfiguration
 
toString() - Method in class com.aoapps.appcluster.Resource
 
toString() - Method in interface com.aoapps.appcluster.ResourceConfiguration
 
toString() - Method in class com.aoapps.appcluster.ResourceNode
 
toString() - Method in interface com.aoapps.appcluster.ResourceNodeConfiguration
 
toString() - Method in class com.aoapps.appcluster.ResourceNodePropertiesConfiguration
 
toString() - Method in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
toString() - Method in enum com.aoapps.appcluster.ResourceStatus
 
toString() - Method in enum com.aoapps.appcluster.ResourceSynchronizationMode
 
toString() - Method in class com.aoapps.appcluster.ResourceSynchronizer
 
toString() - Method in enum com.aoapps.appcluster.ResourceSynchronizerState
 
TRY_AGAIN - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
type - Variable in class com.aoapps.appcluster.ResourcePropertiesConfiguration
 
TYPE_NOT_FOUND - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 

U

UNKNOWN - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
UNKNOWN - Enum constant in enum com.aoapps.appcluster.NodeDnsStatus
 
UNKNOWN - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
UNRECOVERABLE - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
username - Variable in class com.aoapps.appcluster.NodePropertiesConfiguration
 

V

valueOf(String) - Static method in enum com.aoapps.appcluster.DnsLookupStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.appcluster.MasterDnsStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.appcluster.NodeDnsStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.appcluster.ResourceStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.appcluster.ResourceSynchronizationMode
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.aoapps.appcluster.ResourceSynchronizerState
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.aoapps.appcluster.DnsLookupStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.appcluster.MasterDnsStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.appcluster.NodeDnsStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.appcluster.ResourceStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.appcluster.ResourceSynchronizationMode
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.aoapps.appcluster.ResourceSynchronizerState
Returns an array containing the constants of this enum type, in the order they are declared.

W

WARNING - Enum constant in enum com.aoapps.appcluster.DnsLookupStatus
 
WARNING - Enum constant in enum com.aoapps.appcluster.MasterDnsStatus
 
WARNING - Enum constant in enum com.aoapps.appcluster.ResourceStatus
 
WARNING_SECONDS - Static variable in class com.aoapps.appcluster.ResourceDnsResult
The warning is 10 seconds after the longest check time including timeouts.
A C D E G H I L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form