org.apache.zookeeper.server.quorum
Class QuorumZooKeeperServer
java.lang.Object
org.apache.zookeeper.server.ZooKeeperServer
org.apache.zookeeper.server.quorum.QuorumZooKeeperServer
- All Implemented Interfaces:
- ServerStats.Provider, SessionTracker.SessionExpirer
- Direct Known Subclasses:
- LeaderZooKeeperServer, LearnerZooKeeperServer
public abstract class QuorumZooKeeperServer
- extends ZooKeeperServer
Abstract base class for all ZooKeeperServers that participate in
a quorum.
Fields inherited from class org.apache.zookeeper.server.ZooKeeperServer |
DEFAULT_TICK_TIME, firstProcessor, hzxid, jmxDataTreeBean, jmxServerBean, LOG, maxSessionTimeout, minSessionTimeout, ok, running, sessionTracker, tickTime |
Methods inherited from class org.apache.zookeeper.server.ZooKeeperServer |
byteBuffer2Record, checkPasswd, closeSession, closeSession, createSessionTracker, decInProcess, dumpEphemerals, expire, getClientPort, getGlobalOutstandingLimit, getInProcess, getLastProcessedZxid, getMaxSessionTimeout, getMinSessionTimeout, getOutstandingRequests, getServerCnxnFactory, getServerId, getSnapCount, getState, getTickTime, getTxnLogFactory, getZKDatabase, getZxid, incInProcess, isRunning, killSession, loadData, processTxn, registerJMX, reopenSession, revalidateSession, serverStats, setMaxSessionTimeout, setMinSessionTimeout, setOwner, setServerCnxnFactory, setTickTime, setTxnLogFactory, setupRequestProcessors, setZKDatabase, setZxid, shutdown, startdata, startSessionTracker, startup, submitRequest, takeSnapshot, truncateLog, unregisterJMX |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
self
protected final QuorumPeer self
QuorumZooKeeperServer
protected QuorumZooKeeperServer(FileTxnSnapLog logFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
ZooKeeperServer.DataTreeBuilder treeBuilder,
ZKDatabase zkDb,
QuorumPeer self)
throws IOException
- Throws:
IOException
dumpConf
public void dumpConf(PrintWriter pwriter)
- Overrides:
dumpConf
in class ZooKeeperServer
Copyright © 2012 The Apache Software Foundation