Interface IgniteTxLocalState
-
- All Superinterfaces:
IgniteTxState
- All Known Implementing Classes:
IgniteTxImplicitSingleStateImpl,IgniteTxLocalStateAdapter,IgniteTxStateImpl
public interface IgniteTxLocalState extends IgniteTxState
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddEntry(IgniteTxEntry entry)voidawaitLastFuture()Awaits for previous async operations on active caches to be completed.booleaninit(int txSize)booleaninitialized()GridCacheAdapter.FutureHolderlastAsyncFuture()Previous async operations on caches.booleanrecovery()voidremoveEntry(IgniteTxKey key)voidseal()-
Methods inherited from interface org.apache.ignite.internal.processors.cache.transactions.IgniteTxState
addActiveCache, allEntries, cacheIds, empty, entry, firstCacheId, hasInterceptor, hasWriteKey, implicitSingle, onTxEnd, readEntries, readMap, readSet, singleWrite, stores, storeWriteThrough, syncMode, topologyReadLock, topologyReadUnlock, unwindEvicts, validateTopology, writeEntries, writeMap, writeSet
-
-
-
-
Method Detail
-
addEntry
void addEntry(IgniteTxEntry entry)
- Parameters:
entry- Entry.
-
removeEntry
void removeEntry(IgniteTxKey key)
- Parameters:
key- Key.
-
init
boolean init(int txSize)
- Parameters:
txSize- Transaction size.- Returns:
Trueif transaction was successfully started.
-
initialized
boolean initialized()
- Returns:
Trueif init method was called.
-
seal
void seal()
-
recovery
boolean recovery()
- Returns:
- Recovery mode flag.
-
awaitLastFuture
void awaitLastFuture()
Awaits for previous async operations on active caches to be completed.
-
lastAsyncFuture
GridCacheAdapter.FutureHolder lastAsyncFuture()
Previous async operations on caches.
-
-