public interface IgniteTxState
boolean implicitSingle()
@Nullable @Nullable Integer firstCacheId()
@Nullable @Nullable GridIntList cacheIds()
void unwindEvicts(GridCacheSharedContext cctx)
cctx - Grid cache shared context.@Nullable @Nullable GridCacheContext singleCacheContext(GridCacheSharedContext cctx)
cctx - Context.void awaitLastFuture(GridCacheSharedContext cctx)
cctx - Awaits for previous async operations on active caches to be completed.IgniteCheckedException validateTopology(GridCacheSharedContext cctx, boolean read, GridDhtTopologyFuture topFut)
cctx - Context.read - True if validating for a read operation, false for write.topFut - Topology future.CacheWriteSynchronizationMode syncMode(GridCacheSharedContext cctx)
cctx - Context.void addActiveCache(GridCacheContext cacheCtx, boolean recovery, IgniteTxAdapter tx) throws IgniteCheckedException
cacheCtx - Context.tx - Transaction.IgniteCheckedException - If cache check failed.GridDhtTopologyFuture topologyReadLock(GridCacheSharedContext cctx, GridFutureAdapter<?> fut)
cctx - Context.fut - Future to finish with error if some cache is stopping.void topologyReadUnlock(GridCacheSharedContext cctx)
cctx - Context.boolean storeWriteThrough(GridCacheSharedContext cctx)
cctx - Context.True if transaction is allowed to use store and transactions spans one or more caches with
store enabled.boolean hasInterceptor(GridCacheSharedContext cctx)
cctx - Context.True if transaction spans one or more caches with configured interceptor.Collection<CacheStoreManager> stores(GridCacheSharedContext cctx)
cctx - Context.void onTxEnd(GridCacheSharedContext cctx, IgniteInternalTx tx, boolean commit)
cctx - Context.tx - Transaction.commit - Commit flag.@Nullable @Nullable IgniteTxEntry entry(IgniteTxKey key)
key - Key.boolean hasWriteKey(IgniteTxKey key)
key - Key.True if tx has write key.Set<IgniteTxKey> readSet()
Set<IgniteTxKey> writeSet()
Collection<IgniteTxEntry> writeEntries()
Collection<IgniteTxEntry> readEntries()
Map<IgniteTxKey,IgniteTxEntry> writeMap()
Map<IgniteTxKey,IgniteTxEntry> readMap()
Collection<IgniteTxEntry> allEntries()
@Nullable @Nullable IgniteTxEntry singleWrite()
boolean empty()
True if transaction is empty.boolean mvccEnabled()
True if MVCC mode is enabled for transaction.boolean useMvccCaching(int cacheId)
cacheId - Cache id.True if it is need to store in the heap updates made by the current TX for the given cache.
These updates will be used for CQ and DR. See MvccCachingManager.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021