Uses of Class
org.apache.zookeeper.server.quorum.Vote
Packages that use Vote
-
Uses of Vote in org.apache.zookeeper.server.quorum
Methods in org.apache.zookeeper.server.quorum that return VoteModifier and TypeMethodDescriptionQuorumPeer.getCurrentVote()
FastLeaderElection.getVote()
Election.lookForLeader()
FastLeaderElection.lookForLeader()
Starts a new round of leader election.Methods in org.apache.zookeeper.server.quorum with parameters of type VoteModifier and TypeMethodDescriptionprotected SyncedLearnerTracker
FastLeaderElection.getVoteTracker
(Map<Long, Vote> votes, Vote vote) Given a set of votes, return the SyncedLearnerTracker which is used to determines if have sufficient to declare the end of the election round.void
QuorumPeer.setCurrentVote
(Vote v) Method parameters in org.apache.zookeeper.server.quorum with type arguments of type VoteModifier and TypeMethodDescriptionprotected boolean
FastLeaderElection.checkLeader
(Map<Long, Vote> votes, long leader, long electionEpoch) In the case there is a leader elected, and a quorum supporting this leader, we have to check if the leader has voted and acked that it is leading.protected SyncedLearnerTracker
FastLeaderElection.getVoteTracker
(Map<Long, Vote> votes, Vote vote) Given a set of votes, return the SyncedLearnerTracker which is used to determines if have sufficient to declare the end of the election round.