org.apache.zookeeper.server.quorum
Class AuthFastLeaderElection
java.lang.Object
org.apache.zookeeper.server.quorum.AuthFastLeaderElection
- All Implemented Interfaces:
- Election
public class AuthFastLeaderElection
- extends Object
- implements Election
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthFastLeaderElection
public AuthFastLeaderElection(QuorumPeer self,
boolean auth)
AuthFastLeaderElection
public AuthFastLeaderElection(QuorumPeer self)
lookForLeader
public Vote lookForLeader()
throws InterruptedException
- Specified by:
lookForLeader
in interface Election
- Throws:
InterruptedException