Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.admin | |
org.apache.zookeeper.client |
Modifier and Type | Method and Description |
---|---|
ZKClientConfig |
ZooKeeper.getClientConfig() |
Constructor and Description |
---|
ClientCnxn(String chrootPath,
HostProvider hostProvider,
int sessionTimeout,
ZKClientConfig clientConfig,
Watcher defaultWatcher,
org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket,
boolean canBeReadOnly)
Creates a connection object.
|
ClientCnxn(String chrootPath,
HostProvider hostProvider,
int sessionTimeout,
ZKClientConfig clientConfig,
Watcher defaultWatcher,
org.apache.zookeeper.ClientCnxnSocket clientCnxnSocket,
long sessionId,
byte[] sessionPasswd,
boolean canBeReadOnly)
Creates a connection object.
|
ZooKeeper(String connectString,
int sessionTimeout,
Watcher watcher,
boolean canBeReadOnly,
HostProvider hostProvider,
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(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(String connectString,
int sessionTimeout,
Watcher watcher,
long sessionId,
byte[] sessionPasswd,
boolean canBeReadOnly,
HostProvider hostProvider,
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(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(String connectString,
int sessionTimeout,
Watcher watcher,
boolean canBeReadOnly,
ZKClientConfig conf)
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
|
ZooKeeperAdmin(String connectString,
int sessionTimeout,
Watcher watcher,
ZKClientConfig conf)
Create a ZooKeeperAdmin object which is used to perform dynamic reconfiguration
operations.
|
Constructor and Description |
---|
ZooKeeperSaslClient(String serverPrincipal,
ZKClientConfig clientConfig) |
Copyright © 2008–2023 The Apache Software Foundation. All rights reserved.