| Package | Description | 
|---|---|
| org.apache.zookeeper.server | 
 ZooKeeper server theory of operation 
 | 
| 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)
creates a zookeeperserver instance. 
 | 
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
               int tickTime,
               int minSessionTimeout,
               int maxSessionTimeout,
               ZKDatabase zkDb)
Keeping this constructor for backward compatibility 
 | 
ZooKeeperServer(FileTxnSnapLog txnLogFactory,
               int tickTime,
               int minSessionTimeout,
               int maxSessionTimeout,
               ZKDatabase zkDb,
               boolean reconfigEnabled)
* Creates a ZooKeeperServer instance. 
 | 
| 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 | 
|---|
LearnerZooKeeperServer(FileTxnSnapLog logFactory,
                      int tickTime,
                      int minSessionTimeout,
                      int maxSessionTimeout,
                      ZKDatabase zkDb,
                      QuorumPeer self)  | 
QuorumZooKeeperServer(FileTxnSnapLog logFactory,
                     int tickTime,
                     int minSessionTimeout,
                     int maxSessionTimeout,
                     ZKDatabase zkDb,
                     QuorumPeer self)  | 
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.