java.lang.Object
com.aoapps.appcluster.Node
One node within the cluster.
- Author:
- AO Industries, Inc.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the display name of this node.Gets the hostname of the machine that runs this node.getId()
Gets the unique identifier for this node.Set
<? extends Nameserver> Gets the set of nameservers that are local to the machine running this node.Gets the overall status of the this node based on enabled and all resourceNodes.Gets the username the cluster must run as on the machine that runs this node.int
hashCode()
boolean
Determines if both the cluster and this node are enabled.toString()
-
Method Details
-
toString
-
equals
-
hashCode
public int hashCode() -
getId
Gets the unique identifier for this node. -
isEnabled
public boolean isEnabled()Determines if both the cluster and this node are enabled. -
getDisplay
Gets the display name of this node. -
getHostname
Gets the hostname of the machine that runs this node. -
getUsername
Gets the username the cluster must run as on the machine that runs this node. This must match the system property "user.name" for this JVM to be considered as "localNode". -
getNameservers
Gets the set of nameservers that are local to the machine running this node. -
getStatus
Gets the overall status of the this node based on enabled and all resourceNodes.
-