public interface IgniteTxLocalEx extends IgniteInternalTx
IgniteInternalTx.FinalizationStatusactiveCacheIds, addInvalidPartition, addMeta, allEntries, alternateVersions, close, colocated, commit, commitAsync, commitVersion, commitVersion, completedVersions, concurrency, dht, done, empty, endVersion, endVersion, enforceSerializable, entry, eventNodeId, finishFuture, groupLock, groupLockKey, hasTransforms, hasWriteKey, implicit, implicitSingle, internal, invalidate, invalidPartitions, ioPolicy, isInvalidate, isolation, isRollbackOnly, isSystemInvalidate, local, localResult, markFinalizing, markPreparing, masterNodeIds, meta, near, nearXidVersion, needsCompletedVersions, nodeId, onePhaseCommit, onOwnerChanged, optimistic, optimisticLockEntries, originatingNodeId, otherNodeId, ownedVersion, ownsLock, ownsLockUnsafe, peek, pessimistic, prepare, prepareAsync, proxy, readCommitted, readEntries, readMap, readSet, remainingTime, removed, removeMeta, repeatableRead, replicated, rollback, rollbackAsync, seal, serializable, setRollbackOnly, size, startTime, startVersion, state, state, storeEnabled, storeUsed, subjectId, syncCommit, syncRollback, system, systemInvalidate, taskNameHash, threadId, timedOut, timeout, timeout, topologyVersion, topologyVersion, topologyVersionSnapshot, transactionNodes, user, writeEntries, writeMap, writeSet, writeVersion, writeVersion, xid, xidVersionendTime, onTimeout, timeoutIdGridCacheVersion minVersion()
void commitError(Throwable e)
e - Commit error.void userCommit()
throws IgniteCheckedException
IgniteCheckedException - If commit failed.void userRollback()
throws IgniteCheckedException
IgniteCheckedException - If rollback failed.@Nullable IgniteTxEntry groupLockEntry()
<K,V> IgniteInternalFuture<Map<K,V>> getAllAsync(GridCacheContext cacheCtx, Collection<KeyCacheObject> keys, @Nullable GridCacheEntryEx cached, boolean deserializePortable, boolean skipVals, boolean keepCacheObjects)
cacheCtx - Cache context.keys - Keys to get.cached - Cached entry if this method is called from entry wrapper.
Cached entry is passed if and only if there is only one key in collection of keys.deserializePortable - Deserialize portable flag.skipVals - Skip values flag.keepCacheObjects - Keep cache objects<K,V> IgniteInternalFuture<GridCacheReturn> putAllAsync(GridCacheContext cacheCtx, Map<? extends K,? extends V> map, boolean retval, @Nullable GridCacheEntryEx cached, long ttl, CacheEntryPredicate[] filter)
cacheCtx - Cache context.map - Map to put.retval - Flag indicating whether a value should be returned.cached - Cached entry, if any. Will be provided only if map has size 1.filter - Filter.ttl - Time to live for entry. If negative, leave unchanged.<K,V,T> IgniteInternalFuture<GridCacheReturn> invokeAsync(GridCacheContext cacheCtx, 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, Collection<? extends K> keys, @Nullable GridCacheEntryEx cached, boolean retval, CacheEntryPredicate[] filter)
cacheCtx - Cache context.keys - Keys to remove.retval - Flag indicating whether a value should be returned.cached - Cached entry, if any. Will be provided only if size of keys collection is 1.filter - Filter.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.<K> IgniteInternalFuture<?> groupLockAsync(GridCacheContext cacheCtx, Collection<K> keys)
cacheCtx - Cache context.keys - Keys to lock.boolean partitionLock()
True if keys from the same partition are allowed to be enlisted in group-lock transaction.GridCacheReturn implicitSingleResult()
boolean finish(boolean commit)
throws IgniteCheckedException
commit - True if commit, false if rollback.True if state has been changed.IgniteCheckedException - If finish failed.IgniteInternalFuture<Boolean> loadMissing(GridCacheContext cacheCtx, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean deserializePortable, boolean skipVals, IgniteBiInClosure<KeyCacheObject,Object> c)
cacheCtx - Cache context.readThrough - Read through flag.async - if True, then loading will happen in a separate thread.keys - Keys.c - Closure.deserializePortable - Deserialize portable flag.skipVals - Skip values flag.True value if loading took place.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0 Release Date : March 31 2015