Example usage for Java org.apache.zookeeper.server ZooKeeperServer fields, constructors, methods, implement or subclass
The text is from its open source code.
int | DEFAULT_TICK_TIME |
ServerStats | serverStats |
ZooKeeperServer(FileTxnSnapLog txnLogFactory, int tickTime, String initialConfig) creates a zookeeperserver instance. | |
ZooKeeperServer(File snapDir, File logDir, int tickTime) This constructor is for backward compatibility with the existing unit test code. | |
ZooKeeperServer() Creates a ZooKeeperServer instance. |
void | closeSession(long sessionId) |
void | dumpConf(PrintWriter pwriter) |
ZKDatabase | getZKDatabase() get the zookeeper database for this server |
boolean | isRunning() |
void | setMaxSessionTimeout(int max) |
void | setMinSessionTimeout(int min) |
void | setTickTime(int tickTime) |
void | setTxnLogFactory(FileTxnSnapLog txnLog) |
void | shutdown() |