|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeCache
Method Summary | |
---|---|
void |
clear()
Clears all changes in the cache. |
Iterator<NodeKey> |
getAllNodeKeys()
Get an iterator over all node keys within this cache. |
Iterator<NodeKey> |
getAllNodeKeysAtAndBelow(NodeKey startingKey)
Get an iterator over all keys for the supplied node and all its descendants. |
CachedNode |
getNode(ChildReference reference)
Get the cached representation of the node as represented by the supplied child reference. |
CachedNode |
getNode(NodeKey key)
Get the cached representation of the node with the supplied node key. |
NodeKey |
getRootKey()
Get the node key for the root node. |
Method Detail |
---|
void clear()
NodeKey getRootKey()
CachedNode getNode(NodeKey key)
key
- the node key; may not be null
CachedNode getNode(ChildReference reference)
getNode(reference.getKey());
reference
- the child node reference; may not be null
Iterator<NodeKey> getAllNodeKeys()
Iterator<NodeKey> getAllNodeKeysAtAndBelow(NodeKey startingKey)
startingKey
- the key for the node to start; may not be null
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |