public class RemoteTxInvocationContext extends AbstractTxInvocationContext<RemoteTransaction>
| Constructor and Description |
|---|
RemoteTxInvocationContext(RemoteTransaction cacheTransaction) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Transaction |
getTransaction()
Returns the tx associated with the current thread.
|
int |
hashCode() |
boolean |
isImplicitTransaction() |
boolean |
isOriginLocal()
Returns true if the call was originated locally, false if it is the result of a remote rpc.
|
boolean |
isTransactionValid() |
addAffectedKey, addAllAffectedKeys, addLockedKey, clearLockedKeys, getAffectedKeys, getCacheTransaction, getGlobalTransaction, getLockedKeys, getLockOwner, getLookedUpEntries, getModifications, hasModifications, isInTxScope, lookupEntry, putLookedUpEntry, removeLookedUpEntry, setLockOwnerclone, getClassLoader, getOrigin, hasLockedKey, isEntryRemovedInContext, onEntryValueReplaced, setClassLoaderfinalize, getClass, notify, notifyAll, toString, wait, wait, waitclone, getClassLoader, getOrigin, hasLockedKey, isEntryRemovedInContext, replaceValue, setClassLoaderpublic RemoteTxInvocationContext(RemoteTransaction cacheTransaction)
public final Transaction getTransaction()
TxInvocationContextInvocationContext.isOriginLocal(), as Transaction are not propagated from the node where tx was
started.public final boolean isTransactionValid()
public final boolean isImplicitTransaction()
public final boolean isOriginLocal()
InvocationContextisOriginLocal in interface InvocationContextisOriginLocal in class AbstractInvocationContextCopyright © 2024 JBoss, a division of Red Hat. All rights reserved.