Class SyncLocalTransaction

  • All Implemented Interfaces:
    CacheTransaction

    public class SyncLocalTransaction
    extends org.infinispan.transaction.impl.LocalTransaction
    LocalTransaction implementation to be used with SynchronizationAdapter.
    Since:
    5.0
    Author:
    Mircea.Markus@jboss.com
    • Field Summary

      • Fields inherited from class org.infinispan.transaction.impl.AbstractCacheTransaction

        affectedKeys, lookedUpEntries, modifications, topologyId, tx
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isEnlisted()  
      void setEnlisted​(boolean enlisted)  
      • Methods inherited from class org.infinispan.transaction.impl.LocalTransaction

        addModification, addReadKey, clearRemoteLocksAcquired, equals, getCommitNodes, getLookedUpEntries, getRemoteLocksAcquired, getTransaction, hashCode, isCommitOrRollbackSent, isFromRemoteSite, isImplicitTransaction, isPrepareSent, isReadOnly, keyRead, locksAcquired, markCommitOrRollbackSent, markPrepareSent, putLookedUpEntries, putLookedUpEntry, setFromRemoteSite, setStateTransferFlag, toString
      • Methods inherited from class org.infinispan.transaction.impl.AbstractCacheTransaction

        addAffectedKey, addAllAffectedKeys, addBackupLockForKey, addListener, addVersionRead, areLocksReleased, cleanupBackupLocks, clearLockedKeys, clearLookedUpEntries, containsLockOrBackupLock, findAnyLockedOrBackupLocked, forEachBackupLock, freezeModifications, getAffectedKeys, getAllModifications, getBackupLockedKeys, getCreationTime, getGlobalTransaction, getLockedKeys, getModifications, getReleaseFutureForKey, getReleaseFutureForKeys, getStateTransferFlag, getTopologyId, getUpdatedEntryVersions, getVersionsRead, hasModification, isFromStateTransfer, isMarkedForRollback, lookupEntry, markForRollback, notifyOnTransactionFinished, ownsLock, registerLockedKey, removeBackupLock, removeBackupLocks, removeLookedUpEntry, setModifications, setUpdatedEntryVersions, waitForLockRelease
    • Constructor Detail

      • SyncLocalTransaction

        public SyncLocalTransaction​(Transaction transaction,
                                    GlobalTransaction tx,
                                    boolean implicitTransaction,
                                    int topologyId,
                                    long txCreationTime)
    • Method Detail

      • isEnlisted

        public boolean isEnlisted()
        Specified by:
        isEnlisted in class org.infinispan.transaction.impl.LocalTransaction
      • setEnlisted

        public void setEnlisted​(boolean enlisted)