public class Follower extends Learner
bufferedOutput, leaderIs, leaderOs, leaderProtocolVersion, LOG, sock
Modifier and Type | Method and 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
|
String |
toString() |
connectToLeader, findLeader, getPendingRevalidationsCount, getSocket, nanoTime, ping, registerWithLeader, revalidate, sockConnect, syncWithLeader
protected void processPacket(QuorumPacket qp) throws Exception
qp
- IOException
Exception
public long getZxid()
protected long getLastQueued()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.