Package | Description |
---|---|
org.apache.zookeeper.client | |
org.apache.zookeeper.common | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.quorum | |
org.apache.zookeeper.server.quorum.flexible | |
org.apache.zookeeper.server.util |
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) |
static void |
QuorumPeerConfig.configureSSLAuth()
Configure SSL authentication only if it is not configured.
|
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 constructor requires the quorum configuration
to be declared in a separate file, and it takes the
file as an input parameter.
|
QuorumMaj(Properties props) |
Modifier and Type | Method and Description |
---|---|
static String[] |
ConfigUtils.getHostAndPort(String s)
Gets host and port by splitting server config
with support for IPv6 literals
|
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.