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_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, ZOOKEEPER_SERIALIZE_LAST_PROCESSED_ZXID_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, checkQuota, checkRequestSizeWhenReceivingMessage, closeSession, closeSession, connThrottle, createRequestThrottler, 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, isEnableEagerACLCheck, isReconfigEnabled, isResponseCachingEnabled, isSerializeLastProcessedZxidEnabled, killSession, loadData, processConnectRequest, processPacket, processTxn, processTxn, registerMetrics, reopenSession, requestFinished, restoreFromSnapshot, revalidateSession, serverStats, setClientPortListenBacklog, setCloseSessionTxnEnabled, setCreateSessionTrackerServerId, setDigestEnabled, setEnableEagerACLCheck, setLargeRequestMaxBytes, setLargeRequestThreshold, setLocalSessionFlag, setMaxSessionTimeout, setMinSessionTimeout, setOwner, setResponseCachingEnabled, setSecureServerCnxnFactory, setSerializeLastProcessedZxidEnabled, setServerCnxnFactory, setThrottledOpWaitTime, setTickTime, setTxnLogFactory, setupRequestProcessors, setZKDatabase, setZxid, shouldForceWriteInitialSnapshotAfterLeaderElection, shouldThrottle, shutdown, startdata, startJvmPauseMonitor, startRequestThrottler, startServing, startSessionTracker, startup, startupWithoutServing, submitRequest, submitRequestNow, takeSnapshot, takeSnapshot, takeSnapshot, truncateLog, unregisterMetrics, validateSession

    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()