Modifier and Type | Class | Description |
---|---|---|
static class |
AuthFastLeaderElection.Notification |
Deprecated.
|
static class |
AuthFastLeaderElection.ToSend |
Deprecated.
|
Constructor | Description |
---|---|
AuthFastLeaderElection(QuorumPeer self) |
Deprecated.
|
AuthFastLeaderElection(QuorumPeer self,
boolean auth) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
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.
|
public AuthFastLeaderElection(QuorumPeer self, boolean auth)
public AuthFastLeaderElection(QuorumPeer self)
public void shutdown()
public Vote lookForLeader() throws java.lang.InterruptedException
lookForLeader
in interface Election
java.lang.InterruptedException
Copyright © 2018 The Apache Software Foundation