Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field and Description |
---|---|
Vote |
LeaderElection.ElectionResult.vote |
Vote |
LeaderElection.ElectionResult.winner |
Modifier and Type | Method and Description |
---|---|
Vote |
QuorumPeer.getCurrentVote() |
Vote |
LeaderElection.lookForLeader()
Invoked in QuorumPeer to find or elect a new leader.
|
Vote |
Election.lookForLeader() |
Vote |
FastLeaderElection.lookForLeader()
Starts a new round of leader election.
|
Vote |
AuthFastLeaderElection.lookForLeader()
Invoked in QuorumPeer to find or elect a new leader.
|
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setCurrentVote(Vote v) |
Modifier and Type | Method and Description |
---|---|
protected LeaderElection.ElectionResult |
LeaderElection.countVotes(java.util.HashMap<java.net.InetSocketAddress,Vote> votes,
java.util.HashSet<java.lang.Long> heardFrom) |
Copyright © 2012 The Apache Software Foundation