public abstract class IgniteTxRemoteStateAdapter extends Object implements IgniteTxRemoteState
| Constructor and Description |
|---|
IgniteTxRemoteStateAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveCache(GridCacheContext cacheCtx,
boolean recovery,
IgniteTxLocalAdapter tx) |
void |
awaitLastFuture(GridCacheSharedContext cctx) |
Integer |
firstCacheId() |
boolean |
hasInterceptor(GridCacheSharedContext cctx) |
boolean |
implicitSingle() |
void |
onTxEnd(GridCacheSharedContext cctx,
IgniteInternalTx tx,
boolean commit) |
GridCacheContext |
singleCacheContext(GridCacheSharedContext cctx) |
boolean |
storeWriteThrough(GridCacheSharedContext cctx) |
CacheWriteSynchronizationMode |
syncMode(GridCacheSharedContext cctx) |
GridDhtTopologyFuture |
topologyReadLock(GridCacheSharedContext cctx,
GridFutureAdapter<?> fut) |
void |
topologyReadUnlock(GridCacheSharedContext cctx) |
IgniteCheckedException |
validateTopology(GridCacheSharedContext cctx,
boolean read,
GridDhtTopologyFuture topFut) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddWriteEntry, clearEntry, invalidPartitionallEntries, empty, entry, hasWriteKey, readEntries, readMap, readSet, singleWrite, stores, unwindEvicts, writeEntries, writeMap, writeSetpublic boolean implicitSingle()
implicitSingle in interface IgniteTxState@Nullable public Integer firstCacheId()
firstCacheId in interface IgniteTxStatepublic void awaitLastFuture(GridCacheSharedContext cctx)
awaitLastFuture in interface IgniteTxStatecctx - Awaits for previous async operations on active caches to be completed.public IgniteCheckedException validateTopology(GridCacheSharedContext cctx, boolean read, GridDhtTopologyFuture topFut)
validateTopology in interface IgniteTxStatecctx - Context.read - True if validating for a read operation, false for write.topFut - Topology future.public CacheWriteSynchronizationMode syncMode(GridCacheSharedContext cctx)
syncMode in interface IgniteTxStatecctx - Context.public void addActiveCache(GridCacheContext cacheCtx, boolean recovery, IgniteTxLocalAdapter tx) throws IgniteCheckedException
addActiveCache in interface IgniteTxStatecacheCtx - Context.tx - Transaction.IgniteCheckedException - If cache check failed.public GridDhtTopologyFuture topologyReadLock(GridCacheSharedContext cctx, GridFutureAdapter<?> fut)
topologyReadLock in interface IgniteTxStatecctx - Context.fut - Future to finish with error if some cache is stopping.public void topologyReadUnlock(GridCacheSharedContext cctx)
topologyReadUnlock in interface IgniteTxStatecctx - Context.public boolean storeWriteThrough(GridCacheSharedContext cctx)
storeWriteThrough in interface IgniteTxStatecctx - Context.True if transaction is allowed to use store and transactions spans one or more caches with
store enabled.public boolean hasInterceptor(GridCacheSharedContext cctx)
hasInterceptor in interface IgniteTxStatecctx - Context.True if transaction spans one or more caches with configured interceptor.@Nullable public GridCacheContext singleCacheContext(GridCacheSharedContext cctx)
singleCacheContext in interface IgniteTxStatecctx - Context.public void onTxEnd(GridCacheSharedContext cctx, IgniteInternalTx tx, boolean commit)
onTxEnd in interface IgniteTxStatecctx - Context.tx - Transaction.commit - Commit flag.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.4.0 Release Date : March 5 2018