Package | Description |
---|---|
org.apache.zookeeper | |
org.apache.zookeeper.proto | |
org.apache.zookeeper.server |
ZooKeeper server theory of operation
ZooKeeperServer is designed to work in standalone mode and also
be extensible so that it can be used to implement the quorum based
version of ZooKeeper.
|
org.apache.zookeeper.server.upgrade | |
org.apache.zookeeper.txn |
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 |
---|---|
static Op |
Op.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode)
Constructs a create operation.
|
String |
ZooKeeper.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode)
Create a node with the given path.
|
Transaction |
Transaction.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode) |
void |
ZooKeeper.create(String path,
byte[] data,
List<ACL> acl,
CreateMode createMode,
AsyncCallback.StringCallback cb,
Object ctx)
The asynchronous version of create.
|
static Op |
Op.create(String path,
byte[] data,
List<ACL> acl,
int flags)
Constructs a create operation.
|
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.
|
Modifier and Type | Method and Description |
---|---|
List<ACL> |
GetACLResponse.getAcl() |
List<ACL> |
CreateRequest.getAcl() |
List<ACL> |
SetACLRequest.getAcl() |
Modifier and Type | Method and Description |
---|---|
void |
GetACLResponse.setAcl(List<ACL> m_) |
void |
CreateRequest.setAcl(List<ACL> m_) |
void |
SetACLRequest.setAcl(List<ACL> m_) |
Constructor and Description |
---|
CreateRequest(String path,
byte[] data,
List<ACL> acl,
int flags) |
GetACLResponse(List<ACL> acl,
Stat stat) |
SetACLRequest(String path,
List<ACL> acl,
int version) |
Modifier and Type | Field and Description |
---|---|
Map<List<ACL>,Long> |
DataTree.aclKeyMap
this a map from acls to long.
|
Map<Long,List<ACL>> |
DataTree.longKeyMap
this is map from longs to acl's.
|
Modifier and Type | Method and Description |
---|---|
List<ACL> |
DataTree.convertLong(Long longVal)
converts a list of longs to a list of acls.
|
List<ACL> |
ZKDatabase.convertLong(Long aclL)
convert from long to the acl entry
|
List<ACL> |
DataTree.getACL(String path,
Stat stat) |
List<ACL> |
ZKDatabase.getACL(String path,
Stat stat)
get acl for a path
|
Modifier and Type | Method and Description |
---|---|
Long |
DataTree.convertAcls(List<ACL> acls)
converts the list of acls to a list of longs.
|
String |
DataTree.createNode(String path,
byte[] data,
List<ACL> acl,
long ephemeralOwner,
int parentCVersion,
long zxid,
long time) |
Stat |
DataTree.setACL(String path,
List<ACL> acl,
int version) |
Modifier and Type | Method and Description |
---|---|
List<ACL> |
DataTreeV1.getACL(String path,
Stat stat) |
Modifier and Type | Method and Description |
---|---|
String |
DataTreeV1.createNode(String path,
byte[] data,
List<ACL> acl,
long ephemeralOwner,
long zxid,
long time) |
Stat |
DataTreeV1.setACL(String path,
List<ACL> acl,
int version) |
Modifier and Type | Method and Description |
---|---|
List<ACL> |
CreateTxnV0.getAcl() |
List<ACL> |
CreateTxn.getAcl() |
List<ACL> |
SetACLTxn.getAcl() |
Modifier and Type | Method and Description |
---|---|
void |
CreateTxnV0.setAcl(List<ACL> m_) |
void |
CreateTxn.setAcl(List<ACL> m_) |
void |
SetACLTxn.setAcl(List<ACL> m_) |
Constructor and Description |
---|
CreateTxn(String path,
byte[] data,
List<ACL> acl,
boolean ephemeral,
int parentCVersion) |
CreateTxnV0(String path,
byte[] data,
List<ACL> acl,
boolean ephemeral) |
SetACLTxn(String path,
List<ACL> acl,
int version) |
Copyright © 2017 The Apache Software Foundation