Class SyncLocalTransaction
java.lang.Object
org.infinispan.transaction.impl.AbstractCacheTransaction
org.infinispan.transaction.impl.LocalTransaction
org.infinispan.transaction.synchronization.SyncLocalTransaction
- All Implemented Interfaces:
CacheTransaction
LocalTransaction
implementation to be used with SynchronizationAdapter
.- Since:
- 5.0
- Author:
- Mircea.Markus@jboss.com
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.infinispan.transaction.xa.CacheTransaction
CacheTransaction.TransactionCompletedListener
-
Field Summary
Fields inherited from class org.infinispan.transaction.impl.AbstractCacheTransaction
affectedKeys, lookedUpEntries, modifications, topologyId, tx
-
Constructor Summary
ConstructorDescriptionSyncLocalTransaction
(jakarta.transaction.Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime) -
Method Summary
Methods inherited from class org.infinispan.transaction.impl.LocalTransaction
addModification, clearRemoteLocksAcquired, equals, getCommitNodes, getIracMetadata, getLookedUpEntries, getRemoteLocksAcquired, getTransaction, hashCode, hasIracMetadata, isFromRemoteSite, isImplicitTransaction, isPrepareSent, isReadOnly, locksAcquired, markPrepareSent, putLookedUpEntries, putLookedUpEntry, setFromRemoteSite, setStateTransferFlag, storeIracMetadata, toString
Methods inherited from class org.infinispan.transaction.impl.AbstractCacheTransaction
addAffectedKey, addAllAffectedKeys, addBackupLockForKey, addListener, addVersionRead, checkIfRolledBack, cleanupBackupLocks, clearLockedKeys, clearLookedUpEntries, forEachBackupLock, forEachLock, freezeModifications, getAffectedKeys, getAllModifications, getBackupLockedKeys, getCreationTime, getGlobalTransaction, getLockedKeys, getModifications, getReleaseFutureForKey, getReleaseFutureForKeys, getStateTransferFlag, getTopologyId, getUpdatedEntryVersions, getVersionsRead, hasModifications, isFromStateTransfer, isMarkedForRollback, lookupEntry, markForRollback, notifyOnTransactionFinished, ownsLock, registerLockedKey, removeBackupLock, removeBackupLocks, removeLookedUpEntry, setModifications, setUpdatedEntryVersions
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.infinispan.transaction.xa.CacheTransaction
hasModification
-
Constructor Details
-
SyncLocalTransaction
public SyncLocalTransaction(jakarta.transaction.Transaction transaction, GlobalTransaction tx, boolean implicitTransaction, int topologyId, long txCreationTime)
-
-
Method Details
-
isEnlisted
public boolean isEnlisted()- Specified by:
isEnlisted
in classLocalTransaction
-
setEnlisted
public void setEnlisted(boolean enlisted)
-