public class Node extends Object
One node within the cluster.
AO Industries, Inc.
  • Method Details

    • toString

      public String toString()
      toString in class Object
    • equals

      public boolean equals(Object o)
      equals in class Object
    • hashCode

      public int hashCode()
      hashCode in class Object
    • getId

      public String getId()
      Gets the unique identifier for this node.
    • isEnabled

      public boolean isEnabled()
      Determines if both the cluster and this node are enabled.
    • getDisplay

      public String getDisplay()
      Gets the display name of this node.
    • getHostname

      public Name getHostname()
      Gets the hostname of the machine that runs this node.
    • getUsername

      public String getUsername()
      Gets the username the cluster must run as on the machine that runs this node. This must match the system property "" for this JVM to be considered as "localNode".
    • getNameservers

      public Set<? extends Nameserver> getNameservers()
      Gets the set of nameservers that are local to the machine running this node.
    • getStatus

      public ResourceStatus getStatus()
      Gets the overall status of the this node based on enabled and all resourceNodes.