Class ElectMasterService.MasterCandidate

  • Enclosing class:

    public static class ElectMasterService.MasterCandidate
    extends java.lang.Object
    a class to encapsulate all the information about a candidate in a master election that is needed to decided which of the candidates should win
    • Field Detail


        public static final long UNRECOVERED_CLUSTER_VERSION
        See Also:
        Constant Field Values
    • Constructor Detail

      • MasterCandidate

        public MasterCandidate​(DiscoveryNode node,
                               long clusterStateVersion)
    • Method Detail

      • getClusterStateVersion

        public long getClusterStateVersion()
      • toString

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