public class ChaosMonkeyCnxnFactory
extends org.apache.zookeeper.server.NIOServerCnxnFactory
Modifier and Type | Class and Description |
---|---|
static class |
ChaosMonkeyCnxnFactory.ChaosMonkeyZookeeperServer |
Modifier and Type | Field and Description |
---|---|
static String |
CHAOS_ZNODE |
static String |
CHAOS_ZNODE_PREFIX |
static long |
LOCKOUT_DURATION_MS |
Constructor and Description |
---|
ChaosMonkeyCnxnFactory() |
Modifier and Type | Method and Description |
---|---|
void |
startup(org.apache.zookeeper.server.ZooKeeperServer zks) |
closeAll, configure, createConnection, dumpConnections, getAllConnectionInfo, getConnections, getDirectBuffer, getLocalAddress, getLocalPort, getMaxClientCnxnsPerHost, getSocketListenBacklog, join, reconfigure, removeCnxn, resetAllConnectionStats, setMaxClientCnxnsPerHost, shutdown, start, startup, stop, touchCnxn
addSession, closeSession, configure, configure, configureSaslLogin, createFactory, createFactory, createFactory, createFactory, createFactory, getMaxCnxns, getNumAliveConnections, getUserName, getZooKeeperServer, initMaxCnxns, isSecure, limitTotalNumberOfCnxns, registerConnection, removeCnxnFromSessionMap, setZooKeeperServer, unregisterConnection
public static final String CHAOS_ZNODE
public static final String CHAOS_ZNODE_PREFIX
public static final long LOCKOUT_DURATION_MS
public void startup(org.apache.zookeeper.server.ZooKeeperServer zks) throws IOException, InterruptedException
startup
in class org.apache.zookeeper.server.ServerCnxnFactory
IOException
InterruptedException
Copyright © 2011–2023 The Apache Software Foundation. All rights reserved.