Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.client |
Modifier and Type | Method | Description |
---|---|---|
Stat |
ZooKeeper.exists(java.lang.String path,
boolean watch) |
Return the stat of the node of the given path.
|
Stat |
ZooKeeper.exists(java.lang.String path,
Watcher watcher) |
Return the stat of the node of the given path.
|
Stat |
OpResult.SetDataResult.getStat() |
|
Stat |
ZooKeeper.setACL(java.lang.String path,
java.util.List<ACL> acl,
int aclVersion) |
Set the ACL for the node of the given path if such a node exists and the
given aclVersion matches the acl version of the node.
|
Stat |
ZooKeeper.setData(java.lang.String path,
byte[] data,
int version) |
Set the data for the node of the given path if such a node exists and the
given version matches the version of the node (if the given version is
-1, it matches any node's versions).
|
Modifier and Type | Method | Description |
---|---|---|
java.util.List<ACL> |
ZooKeeper.getACL(java.lang.String path,
Stat stat) |
Return the ACL and stat of the node of the given path.
|
void |
ZooKeeper.getACL(java.lang.String path,
Stat stat,
AsyncCallback.ACLCallback cb,
java.lang.Object ctx) |
The asynchronous version of getACL.
|
java.util.List<java.lang.String> |
ZooKeeper.getChildren(java.lang.String path,
boolean watch,
Stat stat) |
For the given znode path return the stat and children list.
|
java.util.List<java.lang.String> |
ZooKeeper.getChildren(java.lang.String path,
Watcher watcher,
Stat stat) |
For the given znode path return the stat and children list.
|
byte[] |
ZooKeeper.getData(java.lang.String path,
boolean watch,
Stat stat) |
Return the data and the stat of the node of the given path.
|
byte[] |
ZooKeeper.getData(java.lang.String path,
Watcher watcher,
Stat stat) |
Return the data and the stat of the node of the given path.
|
void |
AsyncCallback.ACLCallback.processResult(int rc,
java.lang.String path,
java.lang.Object ctx,
java.util.List<ACL> acl,
Stat stat) |
Process the result of the asynchronous call.
|
void |
AsyncCallback.Children2Callback.processResult(int rc,
java.lang.String path,
java.lang.Object ctx,
java.util.List<java.lang.String> children,
Stat stat) |
Process the result of the asynchronous call.
|
void |
AsyncCallback.DataCallback.processResult(int rc,
java.lang.String path,
java.lang.Object ctx,
byte[] data,
Stat stat) |
Process the result of the asynchronous call.
|
void |
AsyncCallback.StatCallback.processResult(int rc,
java.lang.String path,
java.lang.Object ctx,
Stat stat) |
Process the result of the asynchronous call.
|
Constructor | Description |
---|---|
SetDataResult(Stat stat) |
Modifier and Type | Method | Description |
---|---|---|
void |
ZooKeeperSaslClient.ServerSaslResponseCallback.processResult(int rc,
java.lang.String path,
java.lang.Object ctx,
byte[] data,
Stat stat) |
Copyright © 2018 The Apache Software Foundation