@Deprecated public interface InvocationContext extends EntryLookup, Cloneable
Modifier and Type | Method and Description |
---|---|
void |
addLockedKey(Object key)
Deprecated.
Tracks the given key as locked by this invocation context.
|
void |
clearLockedKeys()
Deprecated.
|
InvocationContext |
clone()
Deprecated.
Clones the invocation context.
|
ClassLoader |
getClassLoader()
Deprecated.
Not in use any more, implementations might return null.
|
Set<Object> |
getLockedKeys()
Deprecated.
Returns the set of keys that are locked for writing.
|
Object |
getLockOwner()
Deprecated.
Returns the in behalf of which locks will be acquired.
|
Address |
getOrigin()
Deprecated.
|
boolean |
hasLockedKey(Object key)
Deprecated.
Returns true if the lock being tested is already held in the current scope, false otherwise.
|
boolean |
isEntryRemovedInContext(Object key)
Deprecated.
|
boolean |
isInTxScope()
Deprecated.
Returns true if this call is performed in the context of an transaction, false otherwise.
|
boolean |
isOriginLocal()
Deprecated.
Returns true if the call was originated locally, false if it is the result of a remote rpc.
|
default boolean |
replaceValue(Object key,
InternalCacheEntry cacheEntry)
Deprecated.
Since 8.1, use
EntryFactory.wrapExternalEntry(InvocationContext, Object, CacheEntry, boolean) instead. |
void |
setClassLoader(ClassLoader classLoader)
Deprecated.
Not in use any more.
|
void |
setLockOwner(Object lockOwner)
Deprecated.
Sets the object to be used by lock owner.
|
getLookedUpEntries, lookupEntry, putLookedUpEntry, removeLookedUpEntry
boolean isOriginLocal()
Address getOrigin()
boolean isInTxScope()
Object getLockOwner()
void setLockOwner(Object lockOwner)
InvocationContext clone()
Set<Object> getLockedKeys()
void clearLockedKeys()
@Deprecated ClassLoader getClassLoader()
@Deprecated void setClassLoader(ClassLoader classLoader)
void addLockedKey(Object key)
boolean hasLockedKey(Object key)
key
- lock to test@Deprecated default boolean replaceValue(Object key, InternalCacheEntry cacheEntry)
EntryFactory.wrapExternalEntry(InvocationContext, Object, CacheEntry, boolean)
instead.boolean isEntryRemovedInContext(Object key)
Copyright © 2018 JBoss, a division of Red Hat. All rights reserved.