public abstract class IgniteTxRemoteStateAdapter extends Object implements IgniteTxRemoteState
| Constructor and Description |
|---|
IgniteTxRemoteStateAdapter() |
| Modifier and Type | Method and Description |
|---|---|
void |
addActiveCache(GridCacheContext cacheCtx,
IgniteTxLocalAdapter tx) |
void |
awaitLastFut(GridCacheSharedContext cctx) |
Integer |
firstCacheId() |
boolean |
hasInterceptor(GridCacheSharedContext cctx) |
boolean |
hasNearCache(GridCacheSharedContext cctx) |
boolean |
implicitSingle() |
void |
onTxEnd(GridCacheSharedContext cctx,
IgniteInternalTx tx,
boolean commit) |
GridCacheContext |
singleCacheContext(GridCacheSharedContext cctx) |
boolean |
storeUsed(GridCacheSharedContext cctx) |
CacheWriteSynchronizationMode |
syncMode(GridCacheSharedContext cctx) |
GridDhtTopologyFuture |
topologyReadLock(GridCacheSharedContext cctx,
GridFutureAdapter<?> fut) |
void |
topologyReadUnlock(GridCacheSharedContext cctx) |
IgniteCheckedException |
validateTopology(GridCacheSharedContext cctx,
GridDhtTopologyFuture topFut) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddWriteEntry, clearEntry, invalidPartitionallEntries, empty, entry, hasWriteKey, readEntries, readMap, readSet, singleWrite, stores, writeEntries, writeMap, writeSetpublic boolean implicitSingle()
implicitSingle in interface IgniteTxState@Nullable public Integer firstCacheId()
firstCacheId in interface IgniteTxStatepublic void awaitLastFut(GridCacheSharedContext cctx)
awaitLastFut in interface IgniteTxStatecctx - Awaits for previous async operations on active caches to be completed.public IgniteCheckedException validateTopology(GridCacheSharedContext cctx, GridDhtTopologyFuture topFut)
validateTopology in interface IgniteTxStatecctx - Context.topFut - Topology future.public CacheWriteSynchronizationMode syncMode(GridCacheSharedContext cctx)
syncMode in interface IgniteTxStatecctx - Context.public boolean hasNearCache(GridCacheSharedContext cctx)
hasNearCache in interface IgniteTxStatecctx - Context.True is tx has active near cache.public void addActiveCache(GridCacheContext cacheCtx, IgniteTxLocalAdapter tx) throws IgniteCheckedException
addActiveCache in interface IgniteTxStatecacheCtx - Ccntext.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 storeUsed(GridCacheSharedContext cctx)
storeUsed 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. 1.6.0 Release Date : May 18 2016