|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.cache.InvocationContext org.jboss.cache.invocation.LegacyInvocationContext
@Deprecated public class LegacyInvocationContext
This is to provide backward compatibility with legacy locking schemes.
Field Summary |
---|
Fields inherited from class org.jboss.cache.InvocationContext |
---|
invocationLocks, transactionContext |
Constructor Summary | |
---|---|
LegacyInvocationContext(DataContainer container)
Deprecated. |
Method Summary | |
---|---|
void |
clearLookedUpNodes()
Deprecated. Clears the registry of looked up nodes. |
InvocationContext |
copy()
Deprecated. This is a "copy-factory-method" that should be used whenever a clone of this class is needed. |
Map<Fqn,NodeSPI> |
getLookedUpNodes()
Deprecated. Retrieves a map of nodes looked up within the current invocation's scope. |
NodeSPI |
lookUpNode(Fqn fqn)
Deprecated. Retrieves a node from the registry of looked up nodes in the current scope. |
void |
putLookedUpNode(Fqn f,
NodeSPI n)
Deprecated. Puts an entry in the registry of looked up nodes in the current scope. |
void |
putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
Deprecated. Adds a map of looked up nodes to the current map of looked up nodes |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public LegacyInvocationContext(DataContainer container)
Method Detail |
---|
public NodeSPI lookUpNode(Fqn fqn)
InvocationContext
lookUpNode
in class InvocationContext
fqn
- fqn to look up
public void putLookedUpNode(Fqn f, NodeSPI n)
InvocationContext
putLookedUpNode
in class InvocationContext
f
- fqn to addn
- node to addpublic void putLookedUpNodes(Map<Fqn,NodeSPI> lookedUpNodes)
InvocationContext
putLookedUpNodes
in class InvocationContext
lookedUpNodes
- looked up nodes to addpublic void clearLookedUpNodes()
InvocationContext
clearLookedUpNodes
in class InvocationContext
public Map<Fqn,NodeSPI> getLookedUpNodes()
InvocationContext
getLookedUpNodes
in class InvocationContext
public InvocationContext copy()
InvocationContext
TransactionContext
, if any, is maintained.
copy
in class InvocationContext
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |