public class Observer extends Learner
Modifier and Type | Method and Description |
---|---|
protected void |
processPacket(QuorumPacket qp)
Controls the response of an observer to the receipt of a quorumpacket
|
void |
shutdown()
Shutdown the Observer.
|
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
Copyright © 2016 The Apache Software Foundation