| Package | Description | 
|---|---|
| org.apache.zookeeper | |
| org.apache.zookeeper.admin | |
| org.apache.zookeeper.client | 
| 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. 
 | 
protected void | 
ZooKeeper.internalReconfig(List<String> joiningServers,
                List<String> leavingServers,
                List<String> newMembers,
                long fromConfig,
                AsyncCallback.DataCallback cb,
                Object ctx)  | 
protected void | 
ZooKeeper.internalReconfig(String joiningServers,
                String leavingServers,
                String newMembers,
                long fromConfig,
                AsyncCallback.DataCallback cb,
                Object ctx)  | 
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. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
ZooKeeperSaslClient.ServerSaslResponseCallback  | 
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.