Package | Description |
---|---|
org.apache.zookeeper.server |
ZooKeeper server theory of operation
|
org.apache.zookeeper.server.persistence |
Modifier and Type | Method and Description |
---|---|
void |
DataTree.createNode(String path,
byte[] data,
List<ACL> acl,
long ephemeralOwner,
int parentCVersion,
long zxid,
long time)
Add a new node to the DataTree.
|
void |
DataTree.createNode(String path,
byte[] data,
List<ACL> acl,
long ephemeralOwner,
int parentCVersion,
long zxid,
long time,
Stat outputStat)
Add a new node to the DataTree.
|
void |
DataTree.deleteNode(String path,
long zxid)
remove the path from the datatree
|
List<ACL> |
DataTree.getACL(String path,
Stat stat) |
List<ACL> |
ZKDatabase.getACL(String path,
Stat stat)
get acl for a path
|
List<String> |
DataTree.getChildren(String path,
Stat stat,
Watcher watcher) |
List<String> |
ZKDatabase.getChildren(String path,
Stat stat,
Watcher watcher)
get children list for this path
|
byte[] |
DataTree.getData(String path,
Stat stat,
Watcher watcher) |
byte[] |
ZKDatabase.getData(String path,
Stat stat,
Watcher watcher)
get data and stat for a path
|
Stat |
DataTree.setACL(String path,
List<ACL> acl,
int version) |
void |
DataTree.setCversionPzxid(String path,
int newCversion,
long zxid)
This method sets the Cversion and Pzxid for the specified node to the
values passed as arguments.
|
Stat |
DataTree.setData(String path,
byte[] data,
int version,
long zxid,
long time) |
Stat |
ZKDatabase.statNode(String path,
ServerCnxn serverCnxn)
stat the path
|
Stat |
DataTree.statNode(String path,
Watcher watcher) |
Modifier and Type | Method and Description |
---|---|
void |
FileTxnSnapLog.processTransaction(TxnHeader hdr,
DataTree dt,
Map<Long,Integer> sessions,
Record txn)
process the transaction on the datatree
|
Copyright © 2008–2019 The Apache Software Foundation. All rights reserved.