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
-
Method Summary
Modifier and TypeMethodDescriptionboolean
addJoinVote(Join join)
boolean
addVote(DiscoveryNode sourceNode)
boolean
containsVoteFor(DiscoveryNode node)
boolean
getJoins()
int
hashCode()
boolean
isEmpty()
boolean
isQuorum(CoordinationMetadata.VotingConfiguration configuration)
nodes()
toString()
-
Constructor Details
-
VoteCollection
public VoteCollection()
-
-
Method Details