Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.proto | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.upgrade | |
org.apache.zookeeper.txn |
Modifier and Type | Field and 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 and 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 and Description |
---|---|
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.
|
Transaction |
Transaction.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode)
Constructs a create operation.
|
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.
|
static Op |
Op.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
int flags)
Constructs a create operation.
|
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 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(java.lang.String path,
java.util.List<ACL> acl,
int version,
AsyncCallback.StatCallback cb,
java.lang.Object ctx)
The asynchronous version of setACL.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ACL> |
GetACLResponse.getAcl() |
java.util.List<ACL> |
CreateRequest.getAcl() |
java.util.List<ACL> |
SetACLRequest.getAcl() |
Modifier and Type | Method and Description |
---|---|
void |
GetACLResponse.setAcl(java.util.List<ACL> m_) |
void |
CreateRequest.setAcl(java.util.List<ACL> m_) |
void |
SetACLRequest.setAcl(java.util.List<ACL> m_) |
Constructor and Description |
---|
CreateRequest(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
int flags) |
GetACLResponse(java.util.List<ACL> acl,
Stat stat) |
SetACLRequest(java.lang.String path,
java.util.List<ACL> acl,
int version) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ACL> |
ZKDatabase.aclForNode(DataNode n) |
java.util.List<ACL> |
ReferenceCountedACLCache.convertLong(java.lang.Long longVal)
converts a long to a list of acls.
|
java.util.List<ACL> |
DataTree.getACL(DataNode node) |
java.util.List<ACL> |
ZKDatabase.getACL(java.lang.String path,
Stat stat)
get acl for a path
|
java.util.List<ACL> |
DataTree.getACL(java.lang.String path,
Stat stat) |
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
ReferenceCountedACLCache.convertAcls(java.util.List<ACL> acls)
converts the list of acls to a long.
|
java.lang.String |
DataTree.createNode(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
long ephemeralOwner,
int parentCVersion,
long zxid,
long time) |
Stat |
DataTree.setACL(java.lang.String path,
java.util.List<ACL> acl,
int version) |
Modifier and Type | Field and Description |
---|---|
java.util.List<ACL> |
DataNodeV1.acl |
Modifier and Type | Method and Description |
---|---|
java.util.List<ACL> |
DataTreeV1.getACL(java.lang.String path,
Stat stat) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
DataTreeV1.createNode(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
long ephemeralOwner,
long zxid,
long time) |
Stat |
DataTreeV1.setACL(java.lang.String path,
java.util.List<ACL> acl,
int version) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ACL> |
SetACLTxn.getAcl() |
java.util.List<ACL> |
CreateTxnV0.getAcl() |
java.util.List<ACL> |
CreateTxn.getAcl() |
Modifier and Type | Method and Description |
---|---|
void |
SetACLTxn.setAcl(java.util.List<ACL> m_) |
void |
CreateTxnV0.setAcl(java.util.List<ACL> m_) |
void |
CreateTxn.setAcl(java.util.List<ACL> m_) |
Constructor and Description |
---|
CreateTxn(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
boolean ephemeral,
int parentCVersion) |
CreateTxnV0(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
boolean ephemeral) |
SetACLTxn(java.lang.String path,
java.util.List<ACL> acl,
int version) |
Copyright © 2016 The Apache Software Foundation