public static class TestingZooKeeperMain.TestZooKeeperServer
extends org.apache.zookeeper.server.ZooKeeperServer
ALLOW_SASL_FAILED_CLIENTS, CLOSE_SESSION_TXN_ENABLED, DEFAULT_STARTING_BUFFER_SIZE, DEFAULT_THROTTLED_OP_WAIT_TIME, DEFAULT_TICK_TIME, ENABLE_EAGER_ACL_CHECK, ENFORCE_QUOTA, enforceQuota, firstProcessor, GET_CHILDREN_RESPONSE_CACHE_SIZE, GET_DATA_RESPONSE_CACHE_SIZE, GLOBAL_OUTSTANDING_LIMIT, initialConfig, INT_BUFFER_STARTING_SIZE_BYTES, intBufferStartingSizeBytes, jmxDataTreeBean, jmxServerBean, jvmPauseMonitor, listenBacklog, LOG, maxSessionTimeout, minSessionTimeout, ok, reconfigEnabled, SASL_SUPER_USER, secureServerCnxnFactory, serverCnxnFactory, sessionTracker, SKIP_ACL, SNAP_COUNT, state, throttledOpWaitTime, tickTime, ZOOKEEPER_DIGEST_ENABLED| Constructor and Description |
|---|
TestZooKeeperServer(org.apache.zookeeper.server.persistence.FileTxnSnapLog txnLog,
org.apache.zookeeper.server.ServerConfig config) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.zookeeper.server.RequestProcessor |
getFirstProcessor() |
boolean |
isRunning() |
void |
noteStartup() |
protected void |
registerJMX() |
protected void |
setState(org.apache.zookeeper.server.ZooKeeperServer.State state) |
void |
shutdown(boolean fullyShutDown) |
protected void |
unregisterJMX() |
authWriteRequest, canShutdown, checkACL, checkPasswd, checkQuota, checkRequestSizeWhenReceivingMessage, closeSession, closeSession, connThrottle, createSessionTracker, decInProcess, dumpConf, dumpEphemerals, dumpMonitorValues, enqueueRequest, expire, expire, finishSessionInit, getClientPort, getClientPortListenBacklog, getConf, getConnectionDropChance, getDataDirSize, getEphemerals, getGetChildrenResponseCache, getGlobalOutstandingLimit, getInflight, getInitialConfig, getInProcess, getLargeRequestBytes, getLargeRequestMaxBytes, getLargeRequestThreshold, getLastProcessedZxid, getLogDirSize, getMaxClientCnxnsPerHost, getMaxSessionTimeout, getMinSessionTimeout, getNumAliveConnections, getOutstandingHandshakeNum, getOutstandingRequests, getReadResponseCache, getRequestPathMetricsCollector, getSecureClientPort, getSecureServerCnxnFactory, getServerCnxnFactory, getServerId, getSessionExpiryMap, getSessionTracker, getSnapCount, getSnapSizeInBytes, getState, getThrottledOpWaitTime, getTickTime, getTxnLogElapsedSyncTime, getTxnLogFactory, getZKDatabase, getZkShutdownHandler, getZooKeeperServerListener, getZxid, incInProcess, isCloseSessionTxnEnabled, isDigestEnabled, isReconfigEnabled, isResponseCachingEnabled, killSession, loadData, processConnectRequest, processPacket, processTxn, processTxn, registerMetrics, reopenSession, requestFinished, revalidateSession, serverStats, setClientPortListenBacklog, setCloseSessionTxnEnabled, setCreateSessionTrackerServerId, setDigestEnabled, setLargeRequestMaxBytes, setLargeRequestThreshold, setLocalSessionFlag, setMaxSessionTimeout, setMinSessionTimeout, setOwner, setResponseCachingEnabled, setSecureServerCnxnFactory, setServerCnxnFactory, setThrottledOpWaitTime, setTickTime, setTxnLogFactory, setupRequestProcessors, setZKDatabase, setZxid, shouldForceWriteInitialSnapshotAfterLeaderElection, shouldThrottle, shutdown, startdata, startJvmPauseMonitor, startRequestThrottler, startServing, startSessionTracker, startup, startupWithoutServing, submitRequest, submitRequestNow, takeSnapshot, takeSnapshot, truncateLog, unregisterMetrics, validateSessionpublic TestZooKeeperServer(org.apache.zookeeper.server.persistence.FileTxnSnapLog txnLog,
org.apache.zookeeper.server.ServerConfig config)
public void shutdown(boolean fullyShutDown)
shutdown in class org.apache.zookeeper.server.ZooKeeperServerpublic org.apache.zookeeper.server.RequestProcessor getFirstProcessor()
protected void setState(org.apache.zookeeper.server.ZooKeeperServer.State state)
setState in class org.apache.zookeeper.server.ZooKeeperServerprotected void registerJMX()
registerJMX in class org.apache.zookeeper.server.ZooKeeperServerprotected void unregisterJMX()
unregisterJMX in class org.apache.zookeeper.server.ZooKeeperServerpublic boolean isRunning()
isRunning in class org.apache.zookeeper.server.ZooKeeperServerpublic void noteStartup()
Copyright © 2011–2022 The Apache Software Foundation. All rights reserved.