Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
DataNode |
NodeHashMapImpl.get(String path) |
DataNode |
NodeHashMap.get(String path)
Return the data node associated with the path.
|
DataNode |
DataTree.getNode(String path) |
DataNode |
ZKDatabase.getNode(String path)
get the datanode for this path
|
DataNode |
NodeHashMapImpl.put(String path,
DataNode node) |
DataNode |
NodeHashMap.put(String path,
DataNode node)
Add the node into the map and update the digest with the new node.
|
DataNode |
NodeHashMapImpl.putWithoutDigest(String path,
DataNode node) |
DataNode |
NodeHashMap.putWithoutDigest(String path,
DataNode node)
Add the node into the map without update the digest.
|
DataNode |
NodeHashMapImpl.remove(String path) |
DataNode |
NodeHashMap.remove(String path)
Remove the path from the internal nodes map.
|
Modifier and Type | Method and Description |
---|---|
Set<Map.Entry<String,DataNode>> |
NodeHashMapImpl.entrySet() |
Set<Map.Entry<String,DataNode>> |
NodeHashMap.entrySet()
Return all the entries inside this map.
|
Modifier and Type | Method and Description |
---|---|
List<ACL> |
ZKDatabase.aclForNode(DataNode n) |
List<ACL> |
DataTree.getACL(DataNode node) |
protected long |
ContainerManager.getElapsed(DataNode node) |
void |
NodeHashMapImpl.postChange(String path,
DataNode node) |
void |
NodeHashMap.postChange(String path,
DataNode node)
Called after making the changes on the node, which will update
the digest.
|
void |
NodeHashMapImpl.preChange(String path,
DataNode node) |
void |
NodeHashMap.preChange(String path,
DataNode node)
Called before we made the change on the node, which will clear
the digest associated with it.
|
DataNode |
NodeHashMapImpl.put(String path,
DataNode node) |
DataNode |
NodeHashMap.put(String path,
DataNode node)
Add the node into the map and update the digest with the new node.
|
DataNode |
NodeHashMapImpl.putWithoutDigest(String path,
DataNode node) |
DataNode |
NodeHashMap.putWithoutDigest(String path,
DataNode node)
Add the node into the map without update the digest.
|
void |
DataTree.serializeNodeData(OutputArchive oa,
String path,
DataNode node) |
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.