|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.transaction.AbstractTransactionContext org.jboss.cache.transaction.MVCCTransactionContext
public class MVCCTransactionContext
A transaction context specially geared to dealing with MVCC.
Constructor Summary | |
---|---|
MVCCTransactionContext(Transaction tx)
|
Method Summary | |
---|---|
void |
clearLookedUpNodes()
Clears the registry of looked up nodes. |
Map<Fqn,NodeSPI> |
getLookedUpNodes()
Retrieves a map of nodes looked up within the current invocation's scope. |
NodeSPI |
lookUpNode(Fqn fqn)
Retrieves a node from the registry of looked up nodes in the current scope. |
void |
putLookedUpNode(Fqn f,
NodeSPI n)
Puts an entry in the registry of looked up nodes in the current scope. |
void |
putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
|
void |
reset()
Cleans up internal state, freeing up references. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MVCCTransactionContext(Transaction tx) throws SystemException, RollbackException
SystemException
RollbackException
Method Detail |
---|
public NodeSPI lookUpNode(Fqn fqn)
InvocationContext.lookUpNode(org.jboss.cache.Fqn)
would delegate to this method if a transaction is in scope.
fqn
- fqn to look up
public void putLookedUpNode(Fqn f, NodeSPI n)
InvocationContext.putLookedUpNode(org.jboss.cache.Fqn, org.jboss.cache.NodeSPI)
would delegate to this method if a transaction is in scope.
f
- fqn to addn
- node to addpublic void clearLookedUpNodes()
InvocationContext.clearLookedUpNodes()
would delegate to this method if a transaction is in scope.
public Map<Fqn,NodeSPI> getLookedUpNodes()
InvocationContext.getLookedUpNodes()
would delegate to this method if a transaction is in scope.
public void reset()
TransactionContext
reset
in interface TransactionContext
reset
in class AbstractTransactionContext
public void putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |