Uses of Class
org.apache.zookeeper.server.quorum.Vote
-
Packages that use Vote Package Description org.apache.zookeeper.server.quorum -
-
Uses of Vote in org.apache.zookeeper.server.quorum
Fields in org.apache.zookeeper.server.quorum declared as Vote Modifier and Type Field Description VoteLeaderElection.ElectionResult. voteVoteLeaderElection.ElectionResult. winnerMethods in org.apache.zookeeper.server.quorum that return Vote Modifier and Type Method Description VoteQuorumPeer. getCurrentVote()VoteAuthFastLeaderElection. lookForLeader()Deprecated.Invoked in QuorumPeer to find or elect a new leader.VoteElection. lookForLeader()VoteFastLeaderElection. lookForLeader()Starts a new round of leader election.VoteLeaderElection. lookForLeader()Deprecated.Invoked in QuorumPeer to find or elect a new leader.Methods in org.apache.zookeeper.server.quorum with parameters of type Vote Modifier and Type Method Description voidQuorumPeer. setCurrentVote(Vote v)protected booleanFastLeaderElection. termPredicate(java.util.HashMap<java.lang.Long,Vote> votes, Vote vote)Termination predicate.Method parameters in org.apache.zookeeper.server.quorum with type arguments of type Vote Modifier and Type Method Description protected booleanFastLeaderElection. checkLeader(java.util.HashMap<java.lang.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 LeaderElection.ElectionResultLeaderElection. countVotes(java.util.HashMap<java.net.InetSocketAddress,Vote> votes, java.util.HashSet<java.lang.Long> heardFrom)Deprecated.protected booleanFastLeaderElection. ooePredicate(java.util.HashMap<java.lang.Long,Vote> recv, java.util.HashMap<java.lang.Long,Vote> ooe, FastLeaderElection.Notification n)This predicate checks that a leader has been elected.protected booleanFastLeaderElection. termPredicate(java.util.HashMap<java.lang.Long,Vote> votes, Vote vote)Termination predicate.
-