Package org.apache.zookeeper.server.quorum
package org.apache.zookeeper.server.quorum
-
ClassDescriptionProvides live statistics about Jute buffer usage in term of proposal and client request size.This RequestProcessor matches the incoming committed requests with the locally submitted requests.Implementation of leader election using TCP.Notifications are messages that let other peers know that a given peer has changed its vote, either because it has joined leader election or because it learned of another peer with higher zxid or same zxid and higher server idMessages that a peer wants to send to other peers.This class has the control logic for the Follower.Follower MBean interface implementationFollower MBeanThis RequestProcessor forwards any requests that modify the state of the system to the Leader.Just like the standard ZooKeeperServer.This class has the control logic for the Leader.Leader MBean interface implementation.Leader election MBean interface implementationLeader election protocol MBean.Leader MBean.Responsible for performing local session upgrade.The leader session tracker tracks local and global sessions on the leader.Just like the standard ZooKeeperServer.This class is the superclass of two of the three main actors in a ZK ensemble: Followers and Observers.There will be an instance of this class created by the Leader for each learner.This MBean represents a server connection for a learner.interface for keeping Observers in syncThe learner session tracker is used by learners (followers and observers) to track zookeeper sessions which may or may not be echoed to the leader.Utility class to limit the number of concurrent syncs from a leader to observers and followers or from a follower to observers.Parent class for all ZooKeeperServers for LearnersImplementation of the local peer MBean interface.A local zookeeper server MBean interface.Local session tracker.This class allows to store several quorum and electing addresses.Observers are peers that do not take part in the atomic broadcast protocol.Used by Followers to host Observers.Observer MX Bean interface, implemented by ObserverBeanThis RequestProcessor forwards any requests that modify the state of the system to the Leader.A ZooKeeperServer for the Observer node type.This RequestProcessor simply forwards requests to an AckRequestProcessor and SyncRequestProcessor.This class implements a connection manager for leader election using TCP.An MBean representing a zookeeper cluster nodes (aka quorum peers)This class manages the quorum protocol.(Used for monitoring) When peer is in synchronization phase, this shows which synchronization mechanism is being used(Used for monitoring) shows the current phase of Zab protocol that peer is running.Configuration fileAbstract base class for all ZooKeeperServers that participate in a quorum.ReadOnly MX Bean interface, implemented by ReadOnlyBeanThis processor is at the beginning of the ReadOnlyZooKeeperServer's processors chain.A ZooKeeperServer which comes into play when peer is partitioned from the majority.A remote peer bean only provides limited information about the remote peer, and the peer cannot be managed remotely.A proxy for a remote quorum peer.An abstract base class for the leader and follower MBeans.A quorum server MBean.This class encapsulates the state comparison logic.Thrown when a
Leader
has too many concurrent syncs being sent to observers.A ServerSocket that can act either as a regular ServerSocket, as a SSLServerSocket, or as both, depending on the constructor parameters and on the type of client (TLS or plaintext) that connects to it.The result of calling accept() on a UnifiedServerSocket.A session tracker that supports upgradeable local sessions.