Class TestingZooKeeperMain.TestZooKeeperServer

java.lang.Object
org.apache.zookeeper.server.ZooKeeperServer
org.apache.curator.test.TestingZooKeeperMain.TestZooKeeperServer
All Implemented Interfaces:
org.apache.zookeeper.server.ServerStats.Provider, org.apache.zookeeper.server.SessionTracker.SessionExpirer
Enclosing class:
TestingZooKeeperMain

public static class TestingZooKeeperMain.TestZooKeeperServer extends org.apache.zookeeper.server.ZooKeeperServer
  • Nested Class Summary

    Nested classes/interfaces inherited from class org.apache.zookeeper.server.ZooKeeperServer

    org.apache.zookeeper.server.ZooKeeperServer.MissingSessionException, org.apache.zookeeper.server.ZooKeeperServer.State
  • Field Summary

    Fields inherited from class org.apache.zookeeper.server.ZooKeeperServer

    ALLOW_SASL_FAILED_CLIENTS, CLOSE_SESSION_TXN_ENABLED, DEFAULT_STARTING_BUFFER_SIZE, DEFAULT_TICK_TIME, ENABLE_EAGER_ACL_CHECK, 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_AUTH_SCHEME, secureServerCnxnFactory, serverCnxnFactory, SESSION_REQUIRE_CLIENT_SASL_AUTH, sessionTracker, SKIP_ACL, SNAP_COUNT, state, tickTime, ZOOKEEPER_DIGEST_ENABLED
  • Constructor Summary

    Constructors
    Constructor
    Description
    TestZooKeeperServer(org.apache.zookeeper.server.persistence.FileTxnSnapLog txnLog, org.apache.zookeeper.server.ServerConfig config)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.apache.zookeeper.server.RequestProcessor
     
    boolean
     
    void
     
    protected void
     
    protected void
    setState(org.apache.zookeeper.server.ZooKeeperServer.State state)
     
    void
    shutdown(boolean fullyShutDown)
     
    protected void
     

    Methods inherited from class org.apache.zookeeper.server.ZooKeeperServer

    authWriteRequest, canShutdown, checkACL, checkPasswd, checkRequestSizeWhenReceivingMessage, closeSession, closeSession, connThrottle, createSessionTracker, decInProcess, dumpConf, dumpEphemerals, dumpMonitorValues, enqueueRequest, 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, getTickTime, getTxnLogElapsedSyncTime, getTxnLogFactory, getZKDatabase, 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, setTickTime, setTxnLogFactory, setupRequestProcessors, setZKDatabase, setZxid, shouldThrottle, shutdown, startdata, startJvmPauseMonitor, startRequestThrottler, startServing, startSessionTracker, startup, startupWithoutServing, submitRequest, submitRequestNow, takeSnapshot, takeSnapshot, truncateLog, unregisterMetrics

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • TestZooKeeperServer

      public TestZooKeeperServer(org.apache.zookeeper.server.persistence.FileTxnSnapLog txnLog, org.apache.zookeeper.server.ServerConfig config)
  • Method Details

    • shutdown

      public void shutdown(boolean fullyShutDown)
      Overrides:
      shutdown in class org.apache.zookeeper.server.ZooKeeperServer
    • getFirstProcessor

      public org.apache.zookeeper.server.RequestProcessor getFirstProcessor()
    • setState

      protected void setState(org.apache.zookeeper.server.ZooKeeperServer.State state)
      Overrides:
      setState in class org.apache.zookeeper.server.ZooKeeperServer
    • registerJMX

      protected void registerJMX()
      Overrides:
      registerJMX in class org.apache.zookeeper.server.ZooKeeperServer
    • unregisterJMX

      protected void unregisterJMX()
      Overrides:
      unregisterJMX in class org.apache.zookeeper.server.ZooKeeperServer
    • isRunning

      public boolean isRunning()
      Overrides:
      isRunning in class org.apache.zookeeper.server.ZooKeeperServer
    • noteStartup

      public void noteStartup()