Package | Description |
---|---|
org.apache.zookeeper.server.quorum |
Modifier and Type | Method and Description |
---|---|
List<LearnerHandler> |
Leader.getForwardingFollowers()
Returns a copy of the current forwarding follower snapshot
|
List<LearnerHandler> |
Leader.getLearners()
Returns a copy of the current learner snapshot
|
List<LearnerHandler> |
Leader.getNonVotingFollowers() |
List<LearnerHandler> |
Leader.getObservingLearners()
Returns a copy of the current observer snapshot
|
Modifier and Type | Method and Description |
---|---|
void |
Leader.addLearnerHandler(LearnerHandler learner)
Adds peer to the leader.
|
void |
ObserverMaster.addLearnerHandler(LearnerHandler learnerHandler) |
void |
Leader.registerLearnerHandlerBean(LearnerHandler learnerHandler,
Socket socket) |
void |
ObserverMaster.registerLearnerHandlerBean(LearnerHandler learnerHandler,
Socket socket) |
void |
Leader.removeLearnerHandler(LearnerHandler peer)
Remove the learner from the learner list
|
void |
ObserverMaster.removeLearnerHandler(LearnerHandler learnerHandler) |
void |
Leader.revalidateSession(QuorumPacket qp,
LearnerHandler learnerHandler) |
void |
ObserverMaster.revalidateSession(QuorumPacket qp,
LearnerHandler learnerHandler) |
long |
Leader.startForwarding(LearnerHandler handler,
long lastSeenZxid)
lets the leader know that a follower is capable of following and is done
syncing
|
long |
ObserverMaster.startForwarding(LearnerHandler learnerHandler,
long lastSeenZxid) |
void |
Leader.unregisterLearnerHandlerBean(LearnerHandler learnerHandler) |
void |
ObserverMaster.unregisterLearnerHandlerBean(LearnerHandler learnerHandler) |
Constructor and Description |
---|
LearnerHandlerBean(LearnerHandler learnerHandler,
Socket socket) |
LearnerSyncRequest(LearnerHandler fh,
long sessionId,
int xid,
int type,
ByteBuffer bb,
List<Id> authInfo) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.