Class ZenPing.PingResponse

  • All Implemented Interfaces:
    Enclosing interface:

    public static class ZenPing.PingResponse
    extends java.lang.Object
    implements Writeable
    • Field Detail

      • FAKE_PING_ID

        public static long FAKE_PING_ID
        An ID of a ping response that was generated on behalf of another node. Needs to be less than all other ping IDs so that fake ping responses don't override real ones.
    • Method Detail

      • id

        public long id()
        an always increasing unique identifier for this ping response. lower values means older pings.
      • clusterName

        public ClusterName clusterName()
        the name of the cluster this node belongs to
      • node

        public DiscoveryNode node()
        the node which this ping describes
      • master

        public DiscoveryNode master()
        the current master of the node
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object