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 | Field and Description |
---|---|
protected FileTxnSnapLog |
ZKDatabase.snapLog |
Modifier and Type | Method and Description |
---|---|
FileTxnSnapLog |
ZooKeeperServer.getTxnLogFactory() |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperServer.setTxnLogFactory(FileTxnSnapLog txnLog) |
Constructor and Description |
---|
ZKDatabase(FileTxnSnapLog snapLog)
the filetxnsnaplog that this zk database
maps to.
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory)
Default constructor, relies on the config for its argument values
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
int clientPortListenBacklog,
ZKDatabase zkDb,
String initialConfig)
Creates a ZooKeeperServer instance.
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
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 |
---|---|
FileTxnSnapLog |
QuorumPeer.getTxnFactory() |
Modifier and Type | Method and Description |
---|---|
protected Follower |
QuorumPeer.makeFollower(FileTxnSnapLog logFactory) |
protected Leader |
QuorumPeer.makeLeader(FileTxnSnapLog logFactory) |
protected Observer |
QuorumPeer.makeObserver(FileTxnSnapLog logFactory) |
void |
QuorumPeer.setTxnFactory(FileTxnSnapLog factory) |
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.