Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
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 |
---|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
ZooKeeperServer.DataTreeBuilder treeBuilder,
ZKDatabase zkDb)
Creates a ZooKeeperServer instance.
|
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeer.setZKDatabase(ZKDatabase database)
set zk database for this node
|
Constructor and Description |
---|
LearnerZooKeeperServer(FileTxnSnapLog logFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
ZooKeeperServer.DataTreeBuilder treeBuilder,
ZKDatabase zkDb,
QuorumPeer self) |
QuorumZooKeeperServer(FileTxnSnapLog logFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
ZooKeeperServer.DataTreeBuilder treeBuilder,
ZKDatabase zkDb,
QuorumPeer self) |
Copyright © 2017 The Apache Software Foundation