public abstract class IgniteTxLocalAdapter extends IgniteTxAdapter implements IgniteTxLocalEx
| Modifier and Type | Class and Description |
|---|---|
protected class |
IgniteTxLocalAdapter.FinishClosure<T>
Post-lock closure.
|
protected class |
IgniteTxLocalAdapter.PLC1<T>
Post-lock closure alias.
|
protected class |
IgniteTxLocalAdapter.PLC2<T>
Post-lock closure alias.
|
protected class |
IgniteTxLocalAdapter.PMC<T>
Post-lock closure alias.
|
protected class |
IgniteTxLocalAdapter.PostLockClosure1<T>
Post-lock closure.
|
protected class |
IgniteTxLocalAdapter.PostLockClosure2<T>
Post-lock closure.
|
protected class |
IgniteTxLocalAdapter.PostMissClosure<T>
Post-lock closure.
|
IgniteInternalTx.FinalizationStatus| Modifier and Type | Field and Description |
|---|---|
protected Set<Integer> |
activeCacheIds
Active cache IDs.
|
protected AtomicReference<Throwable> |
commitErr
Commit error.
|
protected AtomicBoolean |
doneFlag
Flag indicating with TM commit happened.
|
protected GridCacheReturn |
implicitRes
Implicit transaction result.
|
protected GridCacheVersion |
minVer
Minimal version encountered (either explicit lock or XID of this transaction).
|
protected boolean |
needRetVal
Need return value.
|
protected IgniteTxMap |
readView
Read view on transaction map.
|
protected Map<IgniteTxKey,IgniteTxEntry> |
txMap
Per-transaction read map.
|
protected IgniteTxMap |
writeView
Write view on transaction map.
|
cctx, concurrency, endVer, grpLockKey, implicit, implicitSingle, internal, invalidate, isDone, isolation, loc, log, nodeId, onePhaseCommit, startTime, startVer, storeEnabled, subjId, syncCommit, syncRollback, taskName, taskNameHash, threadId, timeout, transform, txNodes, txSize, writeVer, xidVer| Modifier | Constructor and Description |
|---|---|
protected |
IgniteTxLocalAdapter()
Empty constructor required for
Externalizable. |
protected |
IgniteTxLocalAdapter(GridCacheSharedContext cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
protected IgniteCacheExpiryPolicy |
accessPolicy(GridCacheContext ctx,
IgniteTxKey key,
javax.cache.expiry.ExpiryPolicy expiryPlc) |
Collection<Integer> |
activeCacheIds()
Gets collection of active cache IDs for this transaction.
|
protected void |
addActiveCache(GridCacheContext cacheCtx)
Adds cache to the list of active caches in transaction.
|
protected IgniteTxEntry |
addEntry(GridCacheOperation op,
CacheObject val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
CacheEntryPredicate[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
protected void |
addGroupTxMapping(Collection<IgniteTxKey> keys)
Adds key mapping to transaction.
|
Collection<IgniteTxEntry> |
allEntries() |
Collection<GridCacheVersion> |
alternateVersions() |
protected void |
batchStoreCommit(Iterable<IgniteTxEntry> writeEntries)
Performs batch database operations.
|
protected void |
checkValid()
Checks transaction expiration.
|
void |
commit()
Commits this transaction by initiating
two-phase-commit process. |
protected boolean |
commitAfterLock() |
Throwable |
commitError() |
void |
commitError(Throwable e) |
Collection<GridCacheVersion> |
committedVersions() |
GridCacheVersion |
completedBase() |
void |
completedVersions(GridCacheVersion completedBase,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
boolean |
empty() |
protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> |
enlistWrite(GridCacheContext cacheCtx,
Collection<?> keys,
GridCacheEntryEx cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<?,?> lookup,
Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
CacheEntryPredicate[] filter,
GridCacheReturn ret,
Collection<KeyCacheObject> enlisted,
Map<KeyCacheObject,GridCacheDrInfo> drPutMap,
Map<KeyCacheObject,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
IgniteTxEntry |
entry(IgniteTxKey key) |
protected GridCacheEntryEx |
entryEx(GridCacheContext cacheCtx,
IgniteTxKey key)
Gets cache entry for given key.
|
protected GridCacheEntryEx |
entryEx(GridCacheContext cacheCtx,
IgniteTxKey key,
long topVer)
Gets cache entry for given key and topology version.
|
long |
entryExpireTime(IgniteTxKey key) |
long |
entryTtl(IgniteTxKey key) |
UUID |
eventNodeId() |
<K,V> IgniteInternalFuture<Map<K,V>> |
getAllAsync(GridCacheContext cacheCtx,
Collection<KeyCacheObject> keys,
GridCacheEntryEx cached,
boolean deserializePortable,
boolean skipVals,
boolean keepCacheObjects) |
<K> IgniteInternalFuture<?> |
groupLockAsync(GridCacheContext cacheCtx,
Collection<K> keys)
Performs keys locking for affinity-based group lock transactions.
|
boolean |
hasWriteKey(IgniteTxKey key) |
GridCacheReturn |
implicitSingleResult() |
void |
implicitSingleResult(GridCacheReturn ret) |
boolean |
init()
Initializes read map.
|
protected void |
initResult()
Creates result instance.
|
<K,V,T> IgniteInternalFuture<GridCacheReturn> |
invokeAsync(GridCacheContext cacheCtx,
Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map,
Object... invokeArgs) |
boolean |
isStarted() |
IgniteInternalFuture<Boolean> |
loadMissing(GridCacheContext cacheCtx,
boolean readThrough,
boolean async,
Collection<KeyCacheObject> keys,
boolean deserializePortable,
boolean skipVals,
IgniteBiInClosure<KeyCacheObject,Object> c) |
Collection<UUID> |
masterNodeIds() |
GridCacheVersion |
minVersion()
Gets minimum version present in transaction.
|
boolean |
needReturnValue() |
void |
needReturnValue(boolean needRetVal) |
boolean |
onOwnerChanged(GridCacheEntryEx entry,
GridCacheMvccCandidate owner)
Callback invoked whenever there is a lock that has been acquired
by this transaction for any of the participating entries.
|
UUID |
originatingNodeId()
Gets node ID which directly started this transaction.
|
boolean |
partitionLock() |
<K,V> GridTuple<CacheObject> |
peek(GridCacheContext cacheCtx,
boolean failFast,
KeyCacheObject key,
CacheEntryPredicate[] filter) |
protected Set<KeyCacheObject> |
postLockWrite(GridCacheContext cacheCtx,
Iterable<KeyCacheObject> keys,
Set<KeyCacheObject> failed,
GridCacheReturn ret,
boolean rmv,
boolean retval,
boolean read,
long accessTtl,
CacheEntryPredicate[] filter,
boolean computeInvoke)
Post lock processing for put or remove.
|
void |
prepare()
Prepare state.
|
<K,V> IgniteInternalFuture<GridCacheReturn> |
putAllAsync(GridCacheContext cacheCtx,
Map<? extends K,? extends V> map,
boolean retval,
GridCacheEntryEx cached,
long ttl,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<?> |
putAllDrAsync(GridCacheContext cacheCtx,
Map<KeyCacheObject,GridCacheDrInfo> drMap) |
Collection<IgniteTxEntry> |
readEntries() |
Map<IgniteTxKey,IgniteTxEntry> |
readMap() |
Set<IgniteTxKey> |
readSet() |
<K,V> IgniteInternalFuture<GridCacheReturn> |
removeAllAsync(GridCacheContext cacheCtx,
Collection<? extends K> keys,
GridCacheEntryEx cached,
boolean retval,
CacheEntryPredicate[] filter) |
IgniteInternalFuture<?> |
removeAllDrAsync(GridCacheContext cacheCtx,
Map<KeyCacheObject,GridCacheVersion> drMap) |
boolean |
removed(IgniteTxKey key)
Checks whether given key has been removed within transaction.
|
Collection<GridCacheVersion> |
rolledbackVersions() |
void |
seal()
Seals transaction for updates.
|
void |
sendTransformedValues(boolean snd) |
void |
tmCommit()
Commits transaction to transaction manager.
|
String |
toString() |
protected void |
updateExplicitVersion(IgniteTxEntry txEntry,
GridCacheEntryEx entry)
Updates explicit version for tx entry based on current entry lock owner.
|
void |
userCommit() |
void |
userPrepare() |
void |
userRollback() |
Collection<IgniteTxEntry> |
writeEntries() |
Map<IgniteTxKey,IgniteTxEntry> |
writeMap() |
Set<IgniteTxKey> |
writeSet() |
addInvalidPartition, applyTransformClosures, awaitCompletion, awaitSignal, checkInternal, close, colocated, commitVersion, commitVersion, concurrency, conflictResolve, dht, done, endTime, endVersion, endVersion, enforceSerializable, equals, evictNearEntry, finalizationStatus, finishFuture, groupLock, groupLockEntry, groupLockKey, hashCode, hasTransforms, implicit, implicitSingle, initCommitVersion, internal, invalidate, invalidPartitions, ioPolicy, isInvalidate, isNearLocallyMapped, isolation, isRollbackOnly, isSystemInvalidate, local, localResult, lock, lockTimeout, log, markFinalizing, markPreparing, near, nearXidVersion, needsCompletedVersions, nodeId, onePhaseCommit, onePhaseCommit, onTimeout, optimistic, optimisticLockEntries, otherNodeId, ownedVersion, ownsLock, ownsLockUnsafe, pessimistic, proxy, readCommitted, readExternal, readResolve, remainingTime, repeatableRead, replicated, resolveTaskName, serializable, setRollbackOnly, signalAll, size, startTime, startVersion, state, state, store, storeEnabled, storeEnabled, storeUsed, subjectId, syncCommit, syncCommit, syncRollback, syncRollback, system, systemInvalidate, taskNameHash, threadId, timedOut, timeout, timeout, timeoutId, topologyVersion, topologyVersion, transactionNodes, transactionNodes, uncommit, unlock, updateNearCache, user, writeExternal, writeVersion, writeVersion, xid, xidVersionaddMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, clone, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, readExternalMeta, removeMeta, removeMeta, replaceMeta, writeExternalMetafinalize, getClass, notify, notifyAll, wait, wait, waitfinish, groupLockEntryaddInvalidPartition, addMeta, close, colocated, commitAsync, commitVersion, commitVersion, concurrency, dht, done, endVersion, endVersion, enforceSerializable, finishFuture, groupLock, groupLockKey, hasTransforms, implicit, implicitSingle, internal, invalidate, invalidPartitions, ioPolicy, isInvalidate, isolation, isRollbackOnly, isSystemInvalidate, local, localResult, markFinalizing, markPreparing, meta, near, nearXidVersion, needsCompletedVersions, nodeId, onePhaseCommit, optimistic, optimisticLockEntries, otherNodeId, ownedVersion, ownsLock, ownsLockUnsafe, pessimistic, prepareAsync, proxy, readCommitted, remainingTime, removeMeta, repeatableRead, replicated, rollback, rollbackAsync, serializable, setRollbackOnly, size, startTime, startVersion, state, state, storeEnabled, storeUsed, subjectId, syncCommit, syncRollback, system, systemInvalidate, taskNameHash, threadId, timedOut, timeout, timeout, topologyVersion, topologyVersion, transactionNodes, user, writeVersion, writeVersion, xid, xidVersionendTime, onTimeout, timeoutId@GridToStringExclude protected Map<IgniteTxKey,IgniteTxEntry> txMap
@GridToStringExclude protected IgniteTxMap readView
@GridToStringExclude protected IgniteTxMap writeView
protected GridCacheVersion minVer
protected AtomicBoolean doneFlag
protected AtomicReference<Throwable> commitErr
protected boolean needRetVal
protected GridCacheReturn implicitRes
protected IgniteTxLocalAdapter()
Externalizable.protected IgniteTxLocalAdapter(GridCacheSharedContext cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean sys, GridIoPolicy plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, int txSize, @Nullable IgniteTxKey grpLockKey, boolean partLock, @Nullable UUID subjId, int taskNameHash)
cctx - Cache registry.xidVer - Transaction ID.implicit - True if transaction was implicitly started by the system,
false if it was started explicitly by user.implicitSingle - True if transaction is implicit with only one key.sys - System flag.plc - IO policy.concurrency - Concurrency.isolation - Isolation.timeout - Timeout.txSize - Expected transaction size.grpLockKey - Group lock key if this is a group-lock transaction.partLock - True if this is a group-lock transaction and lock is acquired for whole partition.protected void initResult()
public UUID eventNodeId()
eventNodeId in interface IgniteInternalTxpublic UUID originatingNodeId()
originatingNodeId in interface IgniteInternalTxpublic boolean empty()
empty in interface IgniteInternalTxTrue if transaction is empty.public Collection<UUID> masterNodeIds()
masterNodeIds in interface IgniteInternalTxpublic boolean partitionLock()
partitionLock in interface IgniteTxLocalExTrue if keys from the same partition are allowed to be enlisted in group-lock transaction.public Throwable commitError()
commitError in interface IgniteTxLocalExpublic void commitError(Throwable e)
commitError in interface IgniteTxLocalExe - Commit error.public boolean onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)
onOwnerChanged in interface IgniteInternalTxentry - Cache entry.owner - Lock candidate that won ownership of the lock.True if transaction cared about notification.public Collection<Integer> activeCacheIds()
activeCacheIds in interface IgniteInternalTxpublic boolean isStarted()
isStarted in class IgniteTxAdapterTrue if transaction has at least one key enlisted.public boolean hasWriteKey(IgniteTxKey key)
hasWriteKey in interface IgniteInternalTxkey - Key to check.True if key is present.public Set<IgniteTxKey> readSet()
readSet in interface IgniteInternalTxpublic Set<IgniteTxKey> writeSet()
writeSet in interface IgniteInternalTxpublic boolean removed(IgniteTxKey key)
removed in interface IgniteInternalTxkey - Key to check.True if key has been removed.public Map<IgniteTxKey,IgniteTxEntry> readMap()
readMap in interface IgniteInternalTxpublic Map<IgniteTxKey,IgniteTxEntry> writeMap()
writeMap in interface IgniteInternalTxpublic Collection<IgniteTxEntry> allEntries()
allEntries in interface IgniteInternalTxpublic Collection<IgniteTxEntry> readEntries()
readEntries in interface IgniteInternalTxpublic Collection<IgniteTxEntry> writeEntries()
writeEntries in interface IgniteInternalTx@Nullable public IgniteTxEntry entry(IgniteTxKey key)
entry in interface IgniteInternalTxkey - Key for the entry.public void seal()
seal in interface IgniteInternalTxpublic GridCacheReturn implicitSingleResult()
implicitSingleResult in interface IgniteTxLocalExpublic void implicitSingleResult(GridCacheReturn ret)
ret - Result.public boolean needReturnValue()
public void needReturnValue(boolean needRetVal)
needRetVal - Need return value flag.public void sendTransformedValues(boolean snd)
snd - True if values in tx entries should be replaced with transformed values and sent
to remote nodes.protected boolean commitAfterLock()
True if should be committed after lock is acquired.@Nullable public <K,V> GridTuple<CacheObject> peek(GridCacheContext cacheCtx, boolean failFast, KeyCacheObject key, CacheEntryPredicate[] filter) throws GridCacheFilterFailedException
peek in interface IgniteInternalTxcacheCtx - Cache context.failFast - Fail-fast flag.key - Key to look up.filter - Filter to check.GridCacheFilterFailedException - If filter failed and failFast is true.public IgniteInternalFuture<Boolean> loadMissing(GridCacheContext cacheCtx, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean deserializePortable, boolean skipVals, IgniteBiInClosure<KeyCacheObject,Object> c)
loadMissing in interface IgniteTxLocalExcacheCtx - Cache context.readThrough - Read through flag.async - if True, then loading will happen in a separate thread.keys - Keys.deserializePortable - Deserialize portable flag.skipVals - Skip values flag.c - Closure.True value if loading took place.public GridCacheVersion minVersion()
minVersion in interface IgniteTxLocalExpublic void userPrepare()
throws IgniteCheckedException
IgniteCheckedException - If prepare step failed.public void commit()
throws IgniteCheckedException
two-phase-commit process.commit in interface IgniteInternalTxIgniteCheckedException - If commit failed.public void prepare()
throws IgniteCheckedException
prepare in interface IgniteInternalTxIgniteCheckedException - If failed.protected GridCacheEntryEx entryEx(GridCacheContext cacheCtx, IgniteTxKey key)
cacheCtx - Cache context.key - Key.protected GridCacheEntryEx entryEx(GridCacheContext cacheCtx, IgniteTxKey key, long topVer)
cacheCtx - Cache context.key - Key.topVer - Topology version.protected void batchStoreCommit(Iterable<IgniteTxEntry> writeEntries) throws IgniteCheckedException
userCommit(). This way if there is a DB failure,
cache transaction can still be rolled back.writeEntries - Transaction write set.IgniteCheckedException - If batch update failed.public void userCommit()
throws IgniteCheckedException
userCommit in interface IgniteTxLocalExIgniteCheckedException - If commit failed.public void tmCommit()
public void completedVersions(GridCacheVersion completedBase, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)
completedVersions in interface IgniteInternalTxcompletedVersions in class IgniteTxAdaptercompletedBase - Base for committed versions.committedVers - Committed transactions relative to base.rolledbackVers - Rolled back transactions relative to base.public GridCacheVersion completedBase()
public Collection<GridCacheVersion> committedVersions()
public Collection<GridCacheVersion> rolledbackVersions()
public void userRollback()
throws IgniteCheckedException
userRollback in interface IgniteTxLocalExIgniteCheckedException - If rollback failed.protected IgniteCacheExpiryPolicy accessPolicy(GridCacheContext ctx, IgniteTxKey key, @Nullable javax.cache.expiry.ExpiryPolicy expiryPlc)
ctx - Cache context.key - Key.expiryPlc - Expiry policy.public <K,V> IgniteInternalFuture<Map<K,V>> getAllAsync(GridCacheContext cacheCtx, Collection<KeyCacheObject> keys, @Nullable GridCacheEntryEx cached, boolean deserializePortable, boolean skipVals, boolean keepCacheObjects)
getAllAsync in interface IgniteTxLocalExcacheCtx - 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 objectspublic <K,V> IgniteInternalFuture<GridCacheReturn> putAllAsync(GridCacheContext cacheCtx, Map<? extends K,? extends V> map, boolean retval, @Nullable GridCacheEntryEx cached, long ttl, CacheEntryPredicate[] filter)
putAllAsync in interface IgniteTxLocalExcacheCtx - 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.ttl - Time to live for entry. If negative, leave unchanged.filter - Filter.public IgniteInternalFuture<?> putAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheDrInfo> drMap)
putAllDrAsync in interface IgniteTxLocalExcacheCtx - Cache context.drMap - DR map to put.public <K,V,T> IgniteInternalFuture<GridCacheReturn> invokeAsync(GridCacheContext cacheCtx, @Nullable Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map, Object... invokeArgs)
invokeAsync in interface IgniteTxLocalExcacheCtx - Cache context.map - Entry processors map.invokeArgs - Optional arguments for entry processor.public IgniteInternalFuture<?> removeAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheVersion> drMap)
removeAllDrAsync in interface IgniteTxLocalExcacheCtx - Cache context.drMap - DR map.protected <K,V> IgniteInternalFuture<Set<KeyCacheObject>> enlistWrite(GridCacheContext cacheCtx, Collection<?> keys, @Nullable GridCacheEntryEx cached, @Nullable javax.cache.expiry.ExpiryPolicy expiryPlc, boolean implicit, @Nullable Map<?,?> lookup, @Nullable Map<?,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap, @Nullable Object[] invokeArgs, boolean retval, boolean lockOnly, CacheEntryPredicate[] filter, GridCacheReturn ret, Collection<KeyCacheObject> enlisted, @Nullable Map<KeyCacheObject,GridCacheDrInfo> drPutMap, @Nullable Map<KeyCacheObject,GridCacheVersion> drRmvMap)
cacheCtx - Cache context.keys - Keys to enlist.cached - Cached entry.expiryPlc - Explicitly specified expiry policy for entry.implicit - Implicit flag.lookup - Value lookup map (null for remove).invokeMap - Map with entry processors for invoke operation.invokeArgs - Optional arguments for EntryProcessor.retval - Flag indicating whether a value should be returned.lockOnly - If true, then entry will be enlisted as noop.filter - User filters.ret - Return value.enlisted - Collection of keys enlisted into this transaction.drPutMap - DR put map (optional).drRmvMap - DR remove map (optional).protected Set<KeyCacheObject> postLockWrite(GridCacheContext cacheCtx, Iterable<KeyCacheObject> keys, Set<KeyCacheObject> failed, GridCacheReturn ret, boolean rmv, boolean retval, boolean read, long accessTtl, CacheEntryPredicate[] filter, boolean computeInvoke) throws IgniteCheckedException
cacheCtx - Context.keys - Keys.failed - Collection of potentially failed keys (need to populate in this method).ret - Return value.rmv - True if remove.retval - Flag to return value or not.read - True if read.accessTtl - TTL for read operation.filter - Filter to check entries.computeInvoke - If true computes return value for invoke operation.IgniteCheckedException - If error.public <K,V> IgniteInternalFuture<GridCacheReturn> removeAllAsync(GridCacheContext cacheCtx, Collection<? extends K> keys, @Nullable GridCacheEntryEx cached, boolean retval, CacheEntryPredicate[] filter)
removeAllAsync in interface IgniteTxLocalExcacheCtx - Cache context.keys - Keys to remove.cached - Cached entry, if any. Will be provided only if size of keys collection is 1.retval - Flag indicating whether a value should be returned.filter - Filter.protected void addGroupTxMapping(Collection<IgniteTxKey> keys)
keys - Keys to add.public <K> IgniteInternalFuture<?> groupLockAsync(GridCacheContext cacheCtx, Collection<K> keys)
groupLockAsync in interface IgniteTxLocalExcacheCtx - Cache context.keys - Keys to lock.public boolean init()
True if transaction was successfully started.protected void addActiveCache(GridCacheContext cacheCtx) throws IgniteCheckedException
cacheCtx - Cache context to add.IgniteCheckedException - If caches already enlisted in this transaction are not compatible with given
cache (e.g. they have different stores).protected void checkValid()
throws IgniteCheckedException
IgniteCheckedException - If transaction check failed.public Collection<GridCacheVersion> alternateVersions()
alternateVersions in interface IgniteInternalTxprotected final IgniteTxEntry addEntry(GridCacheOperation op, @Nullable CacheObject val, @Nullable javax.cache.processor.EntryProcessor entryProcessor, Object[] invokeArgs, GridCacheEntryEx entry, @Nullable javax.cache.expiry.ExpiryPolicy expiryPlc, CacheEntryPredicate[] filter, boolean filtersSet, long drTtl, long drExpireTime, @Nullable GridCacheVersion drVer)
op - Cache operation.val - Value.expiryPlc - Explicitly specified expiry policy.invokeArgs - Optional arguments for EntryProcessor.entryProcessor - Entry processor.entry - Cache entry.filter - Filter.filtersSet - True if filter should be marked as set.drTtl - DR TTL (if any).drExpireTime - DR expire time (if any).drVer - DR version.protected void updateExplicitVersion(IgniteTxEntry txEntry, GridCacheEntryEx entry) throws GridCacheEntryRemovedException
txEntry - Tx entry to update.entry - Entry.GridCacheEntryRemovedException - If entry was concurrently removed.public String toString()
toString in class IgniteTxAdapterpublic long entryTtl(IgniteTxKey key)
key - Key.public long entryExpireTime(IgniteTxKey key)
key - Key.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015