Class CoordinationState.VoteCollection

  • Enclosing class:
    CoordinationState

    public static class CoordinationState.VoteCollection
    extends java.lang.Object
    A collection of votes, used to calculate quorums.
    • Constructor Detail

      • VoteCollection

        public VoteCollection()
    • Method Detail

      • containsVoteFor

        public boolean containsVoteFor​(DiscoveryNode node)
      • isEmpty

        public boolean isEmpty()
      • toString

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

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object