Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Field | Description |
---|---|---|
static java.util.ArrayList<ACL> |
ZooDefs.Ids.CREATOR_ALL_ACL |
This ACL gives the creators authentication id's all permissions.
|
static java.util.ArrayList<ACL> |
ZooDefs.Ids.OPEN_ACL_UNSAFE |
This is a completely open ACL .
|
static java.util.ArrayList<ACL> |
ZooDefs.Ids.READ_ACL_UNSAFE |
This ACL gives the world the ability to read.
|
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.
|
Modifier and Type | Method | Description |
---|---|---|
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
int flags) |
Constructs a create operation.
|
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
Constructs a create operation.
|
Transaction |
Transaction.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
|
java.lang.String |
ZooKeeper.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
Create a node with the given path.
|
void |
ZooKeeper.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode,
AsyncCallback.StringCallback cb,
java.lang.Object ctx) |
The asynchronous version of create.
|
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.
|
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.
|
void |
ZooKeeper.setACL(java.lang.String path,
java.util.List<ACL> acl,
int version,
AsyncCallback.StatCallback cb,
java.lang.Object ctx) |
The asynchronous version of setACL.
|
Copyright © 2018 The Apache Software Foundation