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, getOrigin, hasLockedKey, isEntryRemovedInContextfinalize, getClass, notify, notifyAll, toString, wait, wait, waitaddLockedKeys, clone, getOrigin, hasLockedKey, isEntryRemovedInContextforEachEntry, forEachValue, lookedUpEntriesCount, removeLookedUpEntriespublic 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 © 2021 JBoss by Red Hat. All rights reserved.