public abstract class AbstractInvocationContext extends Object implements InvocationContext
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractInvocationContext(Address origin) |
| Modifier and Type | Method and Description |
|---|---|
InvocationContext |
clone()
Clones the invocation context.
|
Address |
getOrigin() |
boolean |
hasLockedKey(Object key)
Returns true if the lock being tested is already held in the current scope, false otherwise.
|
boolean |
isEntryRemovedInContext(Object key) |
boolean |
isOriginLocal()
Returns true if the call was originated locally, false if it is the result of a remote rpc.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddLockedKey, addLockedKeys, clearLockedKeys, getLockedKeys, getLockOwner, isInTxScope, setLockOwnerforEachEntry, forEachValue, getLookedUpEntries, lookedUpEntriesCount, lookupEntry, putLookedUpEntry, removeLookedUpEntries, removeLookedUpEntryprotected AbstractInvocationContext(Address origin)
public final Address getOrigin()
getOrigin in interface InvocationContextpublic boolean isOriginLocal()
InvocationContextisOriginLocal in interface InvocationContextpublic boolean hasLockedKey(Object key)
InvocationContexthasLockedKey in interface InvocationContextkey - lock to testpublic boolean isEntryRemovedInContext(Object key)
isEntryRemovedInContext in interface InvocationContextpublic InvocationContext clone()
InvocationContextclone in interface InvocationContextclone in class ObjectCopyright © 2021 JBoss by Red Hat. All rights reserved.