Module org.elasticsearch.server
Class CoordinationState.VoteCollection
java.lang.Object
org.elasticsearch.cluster.coordination.CoordinationState.VoteCollection
- Enclosing class:
CoordinationState
A collection of votes, used to calculate quorums. Optionally records the Joins as well.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanaddJoinVote(Join join) booleanaddVote(DiscoveryNode sourceNode) booleancontainsVoteFor(DiscoveryNode node) booleangetJoins()inthashCode()booleanisEmpty()booleanisQuorum(CoordinationMetadata.VotingConfiguration configuration) nodes()toString()
-
Constructor Details
-
VoteCollection
public VoteCollection()
-
-
Method Details