Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.admin |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeper.getConfig(boolean watch,
AsyncCallback.DataCallback cb,
Object ctx)
The Asynchronous version of getConfig.
|
void |
ZooKeeper.getConfig(Watcher watcher,
AsyncCallback.DataCallback cb,
Object ctx)
The asynchronous version of getConfig.
|
void |
ZooKeeper.getData(String path,
boolean watch,
AsyncCallback.DataCallback cb,
Object ctx)
The asynchronous version of getData.
|
void |
ZooKeeper.getData(String path,
Watcher watcher,
AsyncCallback.DataCallback cb,
Object ctx)
The asynchronous version of getData.
|
void |
ZooKeeper.reconfig(List<String> joiningServers,
List<String> leavingServers,
List<String> newMembers,
long fromConfig,
AsyncCallback.DataCallback cb,
Object ctx)
Deprecated.
instead use the reconfigure() methods instead in
ZooKeeperAdmin |
void |
ZooKeeper.reconfig(String joiningServers,
String leavingServers,
String newMembers,
long fromConfig,
AsyncCallback.DataCallback cb,
Object ctx)
Deprecated.
instead use the reconfigure() methods instead in
ZooKeeperAdmin |
Modifier and Type | Method and Description |
---|---|
void |
ZooKeeperAdmin.reconfigure(List<String> joiningServers,
List<String> leavingServers,
List<String> newMembers,
long fromConfig,
AsyncCallback.DataCallback cb,
Object ctx)
Convenience wrapper around asynchronous reconfig that takes Lists of strings instead of comma-separated servers.
|
void |
ZooKeeperAdmin.reconfigure(String joiningServers,
String leavingServers,
String newMembers,
long fromConfig,
AsyncCallback.DataCallback cb,
Object ctx)
The Asynchronous version of reconfig.
|
Copyright © 2017 The Apache Software Foundation