| 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 |
Election.lookForLeader() |
Vote |
FastLeaderElection.lookForLeader()
Starts a new round of leader election.
|
Vote |
AuthFastLeaderElection.lookForLeader()
Deprecated.
Invoked in QuorumPeer to find or elect a new leader.
|
Vote |
LeaderElection.lookForLeader()
Deprecated.
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)
Deprecated.
|
Copyright © 2013 The Apache Software Foundation