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, wait
addLockedKey, addLockedKeys, clearLockedKeys, getLockedKeys, getLockOwner, isInTxScope, setLockOwner
forEachEntry, forEachValue, getLookedUpEntries, lookedUpEntriesCount, lookupEntry, putLookedUpEntry, removeLookedUpEntries, removeLookedUpEntry
protected AbstractInvocationContext(Address origin)
public final Address getOrigin()
getOrigin
in interface InvocationContext
public boolean isOriginLocal()
InvocationContext
isOriginLocal
in interface InvocationContext
public boolean hasLockedKey(Object key)
InvocationContext
hasLockedKey
in interface InvocationContext
key
- lock to testpublic boolean isEntryRemovedInContext(Object key)
isEntryRemovedInContext
in interface InvocationContext
public InvocationContext clone()
InvocationContext
clone
in interface InvocationContext
clone
in class Object
Copyright © 2021 JBoss by Red Hat. All rights reserved.