|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.cache.InvocationContext
org.jboss.cache.invocation.MVCCInvocationContext
public class MVCCInvocationContext
An invocation context that is specific to MVCC locking
| Field Summary |
|---|
| Fields inherited from class org.jboss.cache.InvocationContext |
|---|
invocationLocks, transactionContext |
| Constructor Summary | |
|---|---|
MVCCInvocationContext()
|
|
| Method Summary | |
|---|---|
void |
clearLookedUpNodes()
Clears the registry of looked up nodes. |
InvocationContext |
copy()
This is a "copy-factory-method" that should be used whenever a clone of this class is needed. |
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)
Adds a map of looked up nodes to the current map of looked up nodes |
void |
reset()
Resets the context, freeing up any references. |
void |
setTransactionContext(TransactionContext transactionContext)
Sets the transaction context to be associated with the current thread. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MVCCInvocationContext()
| Method Detail |
|---|
public void setTransactionContext(TransactionContext transactionContext)
InvocationContext
setTransactionContext in class InvocationContexttransactionContext - transaction context to setpublic NodeSPI lookUpNode(Fqn fqn)
MVCCTransactionContext.lookUpNode(Fqn)
lookUpNode in class InvocationContextfqn - fqn to look up
public void putLookedUpNode(Fqn f,
NodeSPI n)
MVCCTransactionContext.putLookedUpNode(Fqn, NodeSPI)
putLookedUpNode in class InvocationContextf - fqn to addn - node to addpublic void putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
InvocationContext
putLookedUpNodes in class InvocationContextlookedUpNodes - looked up nodes to addpublic void clearLookedUpNodes()
MVCCTransactionContext.clearLookedUpNodes().
clearLookedUpNodes in class InvocationContextpublic Map<Fqn,NodeSPI> getLookedUpNodes()
MVCCTransactionContext.getLookedUpNodes().
getLookedUpNodes in class InvocationContextpublic void reset()
InvocationContext
reset in class InvocationContextpublic InvocationContext copy()
InvocationContextTransactionContext, if any, is maintained.
copy in class InvocationContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||