Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.admin |
Modifier and Type | Method and Description |
---|---|
ZKClientConfig |
ZooKeeper.getClientConfig() |
Constructor and Description |
---|
ZooKeeper(java.lang.String connectString,
int sessionTimeout,
Watcher watcher,
boolean canBeReadOnly,
HostProvider aHostProvider,
ZKClientConfig clientConfig)
To create a ZooKeeper client object, the application needs to pass a
connection string containing a comma separated list of host:port pairs,
each corresponding to a ZooKeeper server.
|
ZooKeeper(java.lang.String connectString,
int sessionTimeout,
Watcher watcher,
boolean canBeReadOnly,
ZKClientConfig conf)
To create a ZooKeeper client object, the application needs to pass a
connection string containing a comma separated list of host:port pairs,
each corresponding to a ZooKeeper server.
|
ZooKeeper(java.lang.String connectString,
int sessionTimeout,
Watcher watcher,
ZKClientConfig conf)
To create a ZooKeeper client object, the application needs to pass a
connection string containing a comma separated list of host:port pairs,
each corresponding to a ZooKeeper server.
|
Constructor and Description |
---|
ZooKeeperAdmin(java.lang.String connectString,
int sessionTimeout,
Watcher watcher,
ZKClientConfig conf)
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
|
Copyright © 2018 The Apache Software Foundation