|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface InvocationContext
A context that contains information pertaining to a given invocation. These contexts typically have the lifespan of a single invocation.
Method Summary | |
---|---|
InvocationContext |
clone()
|
Set<Object> |
getKeysAddedInCurrentInvocation()
Retrieves a set of keys added to the context within the scope of the current ivocation up to the current point in time. |
Object |
getLockOwner()
Returns the in behalf of which locks will be aquired. |
boolean |
hasLockedEntries()
Returns true if the context has any locked entries associated with it. |
boolean |
isInTxScope()
Returns true if this call is performed in the context of an transaction, false otherwise. |
boolean |
isOriginLocal()
Returns true if the call was originated locally, false if it is the result of a remote rpc. |
boolean |
isUseFutureReturnType()
|
void |
setUseFutureReturnType(boolean useFutureReturnType)
|
Methods inherited from interface org.infinispan.context.EntryLookup |
---|
clearLookedUpEntries, getLookedUpEntries, hasLockedKey, lookupEntry, putLookedUpEntries, putLookedUpEntry, removeLookedUpEntry |
Methods inherited from interface org.infinispan.context.FlagContainer |
---|
getFlags, hasFlag, isFlagsUninitialized, reset, setFlags, setFlags |
Method Detail |
---|
boolean isOriginLocal()
boolean isInTxScope()
Object getLockOwner()
boolean hasLockedEntries()
boolean isUseFutureReturnType()
void setUseFutureReturnType(boolean useFutureReturnType)
InvocationContext clone()
Set<Object> getKeysAddedInCurrentInvocation()
|
Google Analytics | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |