Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Field and Description |
---|---|
static ArrayList<ACL> |
ZooDefs.Ids.CREATOR_ALL_ACL
This ACL gives the creators authentication id's all permissions.
|
static ArrayList<ACL> |
ZooDefs.Ids.OPEN_ACL_UNSAFE
This is a completely open ACL .
|
static ArrayList<ACL> |
ZooDefs.Ids.READ_ACL_UNSAFE
This ACL gives the world the ability to read.
|
Modifier and Type | Method and Description |
---|---|
List<ACL> |
ZooKeeper.getACL(String path,
Stat stat)
Return the ACL and stat of the node of the given path.
|
Modifier and Type | Method and Description |
---|---|
String |
ZooKeeper.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode)
Create a node with the given path.
|
void |
ZooKeeper.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode,
AsyncCallback.StringCallback cb,
Object ctx)
The asynchronous version of create.
|
void |
AsyncCallback.ACLCallback.processResult(int rc,
String path,
Object ctx,
List<ACL> acl,
Stat stat) |
Stat |
ZooKeeper.setACL(String path,
List<ACL> acl,
int version)
Set the ACL for the node of the given path if such a node exists and the
given version matches the version of the node.
|
void |
ZooKeeper.setACL(String path,
List<ACL> acl,
int version,
AsyncCallback.StatCallback cb,
Object ctx)
The asynchronous version of setACL.
|
Copyright © 2014 The Apache Software Foundation