Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Method and Description |
---|---|
ZKDatabase |
ZooKeeperServer.getZKDatabase()
get the zookeeper database for this server
|
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperServer.setZKDatabase(ZKDatabase zkDb)
set the zkdatabase for this zookeeper server
|
Constructor and Description |
---|
ContainerManager(ZKDatabase zkDb,
RequestProcessor requestProcessor,
int checkIntervalMs,
int maxPerMinute) |
ContainerManager(ZKDatabase zkDb,
RequestProcessor requestProcessor,
int checkIntervalMs,
int maxPerMinute,
long maxNeverUsedIntervalMs) |
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
int clientPortListenBacklog,
ZKDatabase zkDb,
String initialConfig)
Creates a ZooKeeperServer instance.
|
ZooKeeperServer(JvmPauseMonitor jvmPauseMonitor,
FileTxnSnapLog txnLogFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
int clientPortListenBacklog,
ZKDatabase zkDb,
String initialConfig)
Adds JvmPauseMonitor and calls
ZooKeeperServer.ZooKeeperServer(FileTxnSnapLog, int, int, int, int, ZKDatabase, String) |
Modifier and Type | Method and Description |
---|---|
ZKDatabase |
Leader.getZKDatabase() |
ZKDatabase |
ObserverMaster.getZKDatabase() |
protected ZKDatabase |
QuorumPeer.getZkDb() |
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setZKDatabase(ZKDatabase database)
set zk database for this node
|
Constructor and Description |
---|
LeaderZooKeeperServer(FileTxnSnapLog logFactory,
QuorumPeer self,
ZKDatabase zkDb) |
LearnerZooKeeperServer(FileTxnSnapLog logFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
int listenBacklog,
ZKDatabase zkDb,
QuorumPeer self) |
QuorumZooKeeperServer(FileTxnSnapLog logFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
int listenBacklog,
ZKDatabase zkDb,
QuorumPeer self) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.