public interface IgniteTxLocalEx extends IgniteInternalTx
IgniteInternalTx.FinalizationStatusactiveCachesDeploymentEnabled, addInvalidPartition, addMeta, allEntries, alternateVersions, close, colocated, commit, commitAsync, commitError, commitVersion, commitVersion, completedVersions, concurrency, currentPrepareFuture, dht, done, empty, endVersion, entry, errorWhenCommitting, eventNodeId, finishFuture, hasTransforms, hasWriteKey, implicit, implicitSingle, internal, invalidate, invalidPartitions, ioPolicy, isInvalidate, isolation, isRollbackOnly, isSystemInvalidate, local, localResult, markFinalizing, markPreparing, masterNodeIds, meta, near, nearXidVersion, needsCompletedVersions, nodeId, onePhaseCommit, onOwnerChanged, onRemap, optimistic, optimisticLockEntries, originatingNodeId, otherNodeId, ownedVersion, ownsLock, ownsLockUnsafe, peek, pessimistic, prepare, prepareAsync, proxy, readCommitted, readEntries, readMap, readSet, remainingTime, removeMeta, repeatableRead, replicated, rollback, rollbackAsync, seal, serializable, setRollbackOnly, size, startTime, state, state, storeEnabled, storeUsed, subjectId, syncMode, system, systemInvalidate, taskNameHash, threadId, timedOut, timeout, timeout, topologyVersion, topologyVersion, topologyVersionSnapshot, transactionNodes, txState, user, writeEntries, writeMap, writeSet, writeVersion, writeVersion, xid, xidVersionGridCacheVersion minVersion()
@Nullable Throwable commitError()
void userCommit()
throws IgniteCheckedException
IgniteCheckedException - If commit failed.void userRollback()
throws IgniteCheckedException
IgniteCheckedException - If rollback failed.<K,V> IgniteInternalFuture<Map<K,V>> getAllAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, Collection<KeyCacheObject> keys, boolean deserializeBinary, boolean skipVals, boolean keepCacheObjects, boolean skipStore, boolean needVer)
cacheCtx - Cache context.keys - Keys to get.deserializeBinary - Deserialize binary flag.skipVals - Skip values flag.keepCacheObjects - Keep cache objectsskipStore - Skip store flag.<K,V> IgniteInternalFuture<GridCacheReturn> putAllAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, Map<? extends K,? extends V> map, boolean retval)
cacheCtx - Cache context.map - Map to put.retval - Flag indicating whether a value should be returned.<K,V> IgniteInternalFuture<GridCacheReturn> putAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, K key, V val, boolean retval, CacheEntryPredicate filter)
cacheCtx - Cache context.key - Key.val - Value.retval - Return value flag.filter - Filter.<K,V> IgniteInternalFuture<GridCacheReturn> invokeAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, K key, javax.cache.processor.EntryProcessor<K,V,Object> entryProcessor, Object... invokeArgs)
cacheCtx - Cache context.key - Key.entryProcessor - Entry processor.invokeArgs - Optional arguments for entry processor.<K,V,T> IgniteInternalFuture<GridCacheReturn> invokeAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map, Object... invokeArgs)
cacheCtx - Cache context.map - Entry processors map.invokeArgs - Optional arguments for entry processor.<K,V> IgniteInternalFuture<GridCacheReturn> removeAllAsync(GridCacheContext cacheCtx, @Nullable AffinityTopologyVersion entryTopVer, Collection<? extends K> keys, boolean retval, CacheEntryPredicate filter, boolean singleRmv)
cacheCtx - Cache context.keys - Keys to remove.retval - Flag indicating whether a value should be returned.filter - Filter.singleRmv - True for single key remove operation (Cache.remove(Object).IgniteInternalFuture<?> putAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheDrInfo> drMap)
cacheCtx - Cache context.drMap - DR map to put.IgniteInternalFuture<?> removeAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheVersion> drMap)
cacheCtx - Cache context.drMap - DR map.boolean finish(boolean commit)
throws IgniteCheckedException
commit - True if commit, false if rollback.True if state has been changed.IgniteCheckedException - If finish failed.IgniteInternalFuture<Void> loadMissing(GridCacheContext cacheCtx, AffinityTopologyVersion topVer, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean skipVals, boolean needVer, boolean keepBinary, GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c)
cacheCtx - Cache context.readThrough - Read through flag.async - if True, then loading will happen in a separate thread.keys - Keys.skipVals - Skip values flag.needVer - If true version is required for loaded values.c - Closure to be applied for loaded values.True value if loading took place.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016