org.apache.jackrabbit.mk.store
Interface RevisionStore

All Superinterfaces:
RevisionProvider
All Known Implementing Classes:
CopyingGC, DefaultRevisionStore

public interface RevisionStore
extends RevisionProvider

Write operations.


Method Summary
 void lockHead()
          Lock the head.
 Id putCNEMap(ChildNodeEntriesMap map)
           
 Id putHeadCommit(MutableCommit commit)
          Put a new head commit.
 Id putNode(MutableNode node)
           
 void unlockHead()
          Unlock the head.
 
Methods inherited from interface org.apache.jackrabbit.mk.store.RevisionProvider
getCNEMap, getCommit, getHeadCommit, getHeadCommitId, getId, getNode, getNodeState, getRootNode
 

Method Detail

putNode

Id putNode(MutableNode node)
           throws Exception
Throws:
Exception

putCNEMap

Id putCNEMap(ChildNodeEntriesMap map)
             throws Exception
Throws:
Exception

lockHead

void lockHead()
Lock the head. Must be called prior to putting a new head commit.

See Also:
putHeadCommit(MutableCommit)

putHeadCommit

Id putHeadCommit(MutableCommit commit)
                 throws Exception
Put a new head commit. Must be called while holding a lock on the head.

Parameters:
commit - commit
Returns:
head commit id
Throws:
Exception - if an error occurs
See Also:
lockHead()

unlockHead

void unlockHead()
Unlock the head.



Copyright © 2012 The Apache Software Foundation. All Rights Reserved.