public class Follower extends Learner
bufferedOutput, leaderIs, leaderOs, leaderProtocolVersion, LOG, sock
Modifier and Type | Method | Description |
---|---|---|
protected long |
getLastQueued() |
The zxid of the last operation queued
|
long |
getZxid() |
The zxid of the last operation seen
|
protected void |
processPacket(QuorumPacket qp) |
Examine the packet received in qp and dispatch based on its contents.
|
void |
shutdown() |
Shutdown the Peer
|
java.lang.String |
toString() |
connectToLeader, findLeader, getPendingRevalidationsCount, getSocket, ping, registerWithLeader, revalidate, syncWithLeader
public java.lang.String toString()
toString
in class java.lang.Object
protected void processPacket(QuorumPacket qp) throws java.io.IOException
qp
- java.io.IOException
public long getZxid()
protected long getLastQueued()
Copyright © 2018 The Apache Software Foundation