|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.zookeeper.server.quorum.AuthFastLeaderElection
@Deprecated public class AuthFastLeaderElection
| Nested Class Summary | |
|---|---|
static class |
AuthFastLeaderElection.Notification
Deprecated. |
static class |
AuthFastLeaderElection.ToSend
Deprecated. |
| Constructor Summary | |
|---|---|
AuthFastLeaderElection(QuorumPeer self)
Deprecated. |
|
AuthFastLeaderElection(QuorumPeer self,
boolean auth)
Deprecated. |
|
| Method Summary | |
|---|---|
Vote |
lookForLeader()
Deprecated. Invoked in QuorumPeer to find or elect a new leader. |
void |
shutdown()
Deprecated. There is nothing to shutdown in this implementation of leader election, so we simply have an empty method. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AuthFastLeaderElection(QuorumPeer self,
boolean auth)
public AuthFastLeaderElection(QuorumPeer self)
| Method Detail |
|---|
public void shutdown()
shutdown in interface Election
public Vote lookForLeader()
throws InterruptedException
lookForLeader in interface ElectionInterruptedException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||