Class Nameserver

java.lang.Object
com.aoapps.appcluster.Nameserver

public class Nameserver extends Object
A nameserver may be used by multiple nodes.
Author:
AO Industries, Inc.
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • getCluster

      public AppCluster getCluster()
      Gets the cluster this nameserver is part of.
    • getHostname

      public Name getHostname()
      Gets the hostname of this nameserver.
    • getStatus

      public ResourceStatus getStatus()
      Gets the overall status of the this nameserver based on all resourceNodes that use this nameserver.