public interface DocumentNodeStateCache
| Modifier and Type | Field and Description |
|---|---|
static DocumentNodeStateCache |
NOOP |
| Modifier and Type | Method and Description |
|---|---|
@Nullable AbstractDocumentNodeState |
getDocumentNodeState(String path,
RevisionVector rootRevision,
RevisionVector lastRev)
Get the node for the given path and revision.
|
boolean |
isCached(String path)
Determines if given path is cached by this implementation
|
static final DocumentNodeStateCache NOOP
@Nullable @Nullable AbstractDocumentNodeState getDocumentNodeState(String path, RevisionVector rootRevision, RevisionVector lastRev)
path - the path of the node.rootRevision - revision of root NodeStatelastRev - last revision of the node at given pathnull would be returnedboolean isCached(String path)
path - path to checkCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.