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.
|
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) |
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 | Field and Description |
---|---|
java.util.Map<java.util.List<ACL>,java.lang.Long> |
DataTree.aclKeyMap
this a map from acls to long.
|
java.util.Map<java.lang.Long,java.util.List<ACL>> |
DataTree.longKeyMap
this is map from longs to acl's.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ACL> |
DataTree.convertLong(java.lang.Long longVal)
converts a list of longs to a list of acls.
|
java.util.List<ACL> |
ZKDatabase.convertLong(java.lang.Long aclL)
convert from long to the acl entry
|
java.util.List<ACL> |
DataTree.getACL(java.lang.String path,
Stat stat) |
java.util.List<ACL> |
ZKDatabase.getACL(java.lang.String path,
Stat stat)
get acl for a path
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
DataTree.convertAcls(java.util.List<ACL> acls)
converts the list of acls to a list of longs.
|
java.lang.String |
DataTree.createNode(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
long ephemeralOwner,
long zxid,
long time) |
Stat |
DataTree.setACL(java.lang.String path,
java.util.List<ACL> acl,
int version) |
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> |
CreateTxn.getAcl() |
Modifier and Type | Method and Description |
---|---|
void |
SetACLTxn.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) |
SetACLTxn(java.lang.String path,
java.util.List<ACL> acl,
int version) |
Copyright © 2012 The Apache Software Foundation