Package | Description |
---|---|
org.apache.zookeeper.client | |
org.apache.zookeeper.common | |
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 | |
org.apache.zookeeper.server.quorum.flexible |
Constructor and Description |
---|
ZKClientConfig(File configFile) |
ZKClientConfig(String configPath) |
Modifier and Type | Method and Description |
---|---|
void |
ZKConfig.addConfiguration(File configFile)
Add a configuration resource.
|
void |
ZKConfig.addConfiguration(String configPath)
Add a configuration resource.
|
Constructor and Description |
---|
ZKConfig(File configFile) |
ZKConfig(String configPath) |
Modifier and Type | Method and Description |
---|---|
protected void |
ZooKeeperServerMain.initializeAndRun(String[] args) |
void |
ServerConfig.parse(String path)
Parse a ZooKeeper configuration file
|
Modifier and Type | Method and Description |
---|---|
void |
QuorumPeerConfig.checkValidity() |
QuorumVerifier |
QuorumPeer.configFromString(String s) |
protected void |
QuorumPeerMain.initializeAndRun(String[] args) |
void |
QuorumPeerConfig.parse(String path)
Parse a ZooKeeper configuration file
|
static QuorumVerifier |
QuorumPeerConfig.parseDynamicConfig(Properties dynamicConfigProp,
int eAlg,
boolean warnings,
boolean configBackwardCompatibilityMode)
Parse dynamic configuration file and return
quorumVerifier for new configuration.
|
void |
QuorumPeerConfig.parseProperties(Properties zkProp)
Parse config from a Properties.
|
Constructor and Description |
---|
QuorumServer(long sid,
String addressStr) |
Constructor and Description |
---|
QuorumHierarchical(Properties qp)
This constructor takes a set of properties.
|
QuorumHierarchical(String filename)
This contructor requires the quorum configuration
to be declared in a separate file, and it takes the
file as an input parameter.
|
QuorumMaj(Properties props) |
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.