Interface DocumentNodeStateCache

    • Method Detail

      • getDocumentNodeState

        @Nullable
        @Nullable AbstractDocumentNodeState getDocumentNodeState​(Path path,
                                                                 RevisionVector rootRevision,
                                                                 RevisionVector lastRev)
        Get the node for the given path and revision.
        Parameters:
        path - the path of the node.
        rootRevision - revision of root NodeState
        lastRev - last revision of the node at given path
        Returns:
        nodeState at given path or null. If given revision is not present or the path is not cached then null would be returned
      • isCached

        boolean isCached​(Path path)
        Determines if given path is cached by this implementation
        Parameters:
        path - path to check
        Returns:
        true if given path is cached