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()
Deprecated.
Invoked in QuorumPeer to find or elect a new leader.
|
Vote |
AuthFastLeaderElection.lookForLeader()
Deprecated.
Invoked in QuorumPeer to find or elect a new leader.
|
Vote |
FastLeaderElection.lookForLeader()
Starts a new round of leader election.
|
Vote |
Election.lookForLeader() |
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setCurrentVote(Vote v) |
Modifier and Type | Method and Description |
---|---|
protected LeaderElection.ElectionResult |
LeaderElection.countVotes(HashMap<InetSocketAddress,Vote> votes,
HashSet<Long> heardFrom)
Deprecated.
|
Copyright © 2013 The Apache Software Foundation