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, setLockOwner
clone, getOrigin, hasLockedKey, isEntryRemovedInContext
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
addLockedKeys, clone, getOrigin, hasLockedKey, isEntryRemovedInContext
forEachEntry, forEachValue, lookedUpEntriesCount, removeLookedUpEntries
public RemoteTxInvocationContext(RemoteTransaction cacheTransaction)
public final Transaction getTransaction()
TxInvocationContext
InvocationContext.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()
InvocationContext
isOriginLocal
in interface InvocationContext
isOriginLocal
in class AbstractInvocationContext
Copyright © 2021 JBoss by Red Hat. All rights reserved.