Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.quorum |
Modifier and Type | Field | Description |
---|---|---|
protected FileTxnSnapLog |
ZKDatabase.snapLog |
Modifier and Type | Method | Description |
---|---|---|
FileTxnSnapLog |
ZooKeeperServer.getTxnLogFactory() |
Modifier and Type | Method | Description |
---|---|---|
void |
ZooKeeperServer.setTxnLogFactory(FileTxnSnapLog txnLog) |
Constructor | Description |
---|---|
ZKDatabase(FileTxnSnapLog snapLog) |
the filetxnsnaplog that this zk database
maps to.
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
int minSessionTimeout,
int maxSessionTimeout,
ZooKeeperServer.DataTreeBuilder treeBuilder,
ZKDatabase zkDb) |
Creates a ZooKeeperServer instance.
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
int tickTime,
ZooKeeperServer.DataTreeBuilder treeBuilder) |
creates a zookeeperserver instance.
|
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
ZooKeeperServer.DataTreeBuilder treeBuilder) |
Default constructor, relies on the config for its agrument values
|
Modifier and Type | Method | Description |
---|---|---|
FileTxnSnapLog |
QuorumPeer.getTxnFactory() |
Modifier and Type | Method | 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 | 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 © 2018 The Apache Software Foundation