public class Follower extends Learner
bufferedOutput, leaderAddr, leaderIs, leaderOs, leaderProtocolVersion, LOG, messageTracker, sock
Modifier and Type | Method and Description |
---|---|
protected long |
getLastQueued()
The zxid of the last operation queued
|
Iterable<Map<String,Object>> |
getSyncedObserversInfo() |
Integer |
getSyncedObserverSize() |
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 |
resetObserverConnectionStats() |
void |
shutdown()
Shutdown the Peer
|
String |
toString() |
connectToLeader, createSocket, 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()
public Integer getSyncedObserverSize()
public void resetObserverConnectionStats()
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.