org.apache.zookeeper.server.quorum
Class AuthFastLeaderElection

java.lang.Object
  extended by org.apache.zookeeper.server.quorum.AuthFastLeaderElection
All Implemented Interfaces:
Election

Deprecated. This class has been deprecated as of release 3.4.0.

@Deprecated
public class AuthFastLeaderElection
extends Object
implements Election


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

AuthFastLeaderElection

public AuthFastLeaderElection(QuorumPeer self,
                              boolean auth)
Deprecated. 

AuthFastLeaderElection

public AuthFastLeaderElection(QuorumPeer self)
Deprecated. 
Method Detail

shutdown

public void shutdown()
Deprecated. 
There is nothing to shutdown in this implementation of leader election, so we simply have an empty method.

Specified by:
shutdown in interface Election

lookForLeader

public Vote lookForLeader()
                   throws InterruptedException
Deprecated. 
Invoked in QuorumPeer to find or elect a new leader.

Specified by:
lookForLeader in interface Election
Throws:
InterruptedException


Copyright © 2011 The Apache Software Foundation