| Modifier and Type | Field and Description |
|---|---|
protected GridCacheVersion |
GridCacheClearAllRunnable.obsoleteVer
Obsolete version.
|
protected GridCacheVersion |
GridCacheMapEntry.ver
Version.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<GridCacheVersion> |
GridCacheMapEntry.ATOMIC_VER_COMPARATOR |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion[] |
GridCacheContext.emptyVersion() |
GridCacheVersion |
GridCacheMvccManager.mappedVersion(GridCacheVersion from) |
GridCacheVersion |
GridCacheMapEntry.obsoleteVersion() |
GridCacheVersion |
GridCacheEntryEx.obsoleteVersion() |
protected GridCacheVersion |
GridCacheMapEntry.obsoleteVersionExtras() |
GridCacheVersion |
GridCacheMvccCandidate.otherVersion() |
GridCacheVersion |
GridCacheMvccCandidate.ownerVersion() |
static GridCacheVersion |
GridCacheUtils.readVersion(ObjectInput in)
Reads
GridCacheVersion from input stream. |
GridCacheVersion |
GridCacheUpdateAtomicResult.removeVersion() |
GridCacheVersion |
GridCacheMvccManager.unmapVersion(GridCacheVersion from) |
GridCacheVersion |
GridCacheSwapEntryImpl.version() |
GridCacheVersion |
GridCacheMvccCandidate.version() |
GridCacheVersion |
GridCacheOffheapSwapEntry.version() |
GridCacheVersion |
GridCacheMapEntry.version() |
GridCacheVersion |
GridCacheEntryEx.version() |
GridCacheVersion |
GridCacheFuture.version() |
GridCacheVersion |
GridCacheSwapEntry.version() |
GridCacheVersion |
GridCacheEntryInfo.version() |
static GridCacheVersion |
GridCacheSwapEntryImpl.version(byte[] bytes) |
static GridCacheVersion |
GridCacheOffheapSwapEntry.version(long ptr) |
| Modifier and Type | Method and Description |
|---|---|
Map<Object,IgniteBiTuple<byte[],GridCacheVersion>> |
IgniteCacheExpiryPolicy.entries() |
Map<Object,IgniteBiTuple<byte[],GridCacheVersion>> |
GridCacheAdapter.CacheExpiryPolicy.entries() |
Collection<GridCacheVersion> |
GridCacheMvccManager.localDhtPendingVersions(Collection<K> keys,
GridCacheVersion base) |
Map<UUID,Collection<IgniteBiTuple<byte[],GridCacheVersion>>> |
IgniteCacheExpiryPolicy.readers() |
Map<UUID,Collection<IgniteBiTuple<byte[],GridCacheVersion>>> |
GridCacheAdapter.CacheExpiryPolicy.readers() |
static <K,V> IgniteClosure<IgniteInternalTx<K,V>,GridCacheVersion> |
GridCacheUtils.tx2xidVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheMvccManager.addAtomicFuture(GridCacheVersion futVer,
GridCacheAtomicFuture<K,?> fut) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addLocal(GridCacheEntryEx<K,?> parent,
UUID nearNodeId,
GridCacheVersion nearVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean dhtLoc) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.addNearLocal(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle)
Adds new near local lock candidate.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.addRemote(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle,
boolean nearLoc)
Adds new remote lock candidate (either near remote or dht remote).
|
boolean |
GridCacheMvccManager.addRemoved(GridCacheContext<K,V> cacheCtx,
GridCacheVersion ver) |
IgniteInternalFuture<?> |
GridCacheMvccManager.atomicFuture(GridCacheVersion futVer)
Gets future by given future ID.
|
void |
GridCacheEvictionManager.batchEvict(Collection<? extends K> keys,
GridCacheVersion obsoleteVer) |
GridCacheMvccCandidate<K> |
GridCacheMapEntry.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheEntryEx.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.candidate(GridCacheVersion ver)
Gets candidate for lock ID.
|
GridCacheMvccCandidate<K> |
GridCacheExplicitLockSpan.candidate(K key,
GridCacheVersion ver)
Gets explicit lock candidate for given key.
|
boolean |
GridCacheMapEntry.clear(GridCacheVersion ver,
boolean readers,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
boolean |
GridCacheEntryEx.clear(GridCacheVersion ver,
boolean readers,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
int |
GridCacheAtomicVersionComparator.compare(GridCacheVersion one,
GridCacheVersion other) |
boolean |
GridCacheContext.conflictNeedResolve(GridCacheVersion oldVer,
GridCacheVersion newVer)
Check whether conflict resolution is required.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
boolean |
GridCacheEvictionManager.evict(GridCacheEntryEx<K,V> entry,
GridCacheVersion obsoleteVer,
boolean explicit,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter) |
GridCacheBatchSwapEntry<K,V> |
GridCacheMapEntry.evictInBatchInternal(GridCacheVersion obsoleteVer)
Evicts entry when batch evict is performed.
|
GridCacheBatchSwapEntry<K,V> |
GridCacheEntryEx.evictInBatchInternal(GridCacheVersion obsoleteVer)
Evicts entry when batch evict is performed.
|
boolean |
GridCacheMapEntry.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter) |
boolean |
GridCacheEntryEx.evictInternal(boolean swap,
GridCacheVersion obsoleteVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter) |
GridCacheMvccCandidate<K> |
GridCacheMvccManager.explicitLock(K key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
<T> GridCacheFuture<T> |
GridCacheMvccManager.future(GridCacheVersion ver,
IgniteUuid futId)
Gets future for given future ID and lock ID.
|
<T> Collection<? extends IgniteInternalFuture<T>> |
GridCacheMvccManager.futures(GridCacheVersion ver)
Gets all futures for given lock version, possibly empty collection.
|
boolean |
GridCacheMvcc.hasCandidate(GridCacheVersion ver) |
boolean |
GridCacheMapEntry.hasLockCandidate(GridCacheVersion ver)
Checks if the candidate is either owner or pending.
|
boolean |
GridCacheEntryEx.hasLockCandidate(GridCacheVersion ver)
Checks if the candidate is either owner or pending.
|
boolean |
GridCacheMapEntry.hasLockCandidateUnsafe(GridCacheVersion ver) |
boolean |
GridCacheEntryEx.hasLockCandidateUnsafe(GridCacheVersion ver) |
boolean |
GridCacheMapEntry.initialValue(V val,
byte[] valBytes,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
long topVer,
GridDrType drType)
Sets new value if current version is 0
|
boolean |
GridCacheEntryEx.initialValue(V val,
byte[] valBytes,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
long topVer,
GridDrType drType)
Sets new value if current version is 0
|
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerRemove(IgniteInternalTx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerRemove(IgniteInternalTx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult<V> |
GridCacheMapEntry.innerSet(IgniteInternalTx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult<V> |
GridCacheEntryEx.innerSet(IgniteInternalTx<K,V> tx,
UUID evtNodeId,
UUID affNodeId,
V val,
byte[] valBytes,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
byte[] valBytes,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult<K,V> |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
byte[] valBytes,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridDrType drType,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean drResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridTuple3<Boolean,V,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheMapEntry.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
GridTuple3<Boolean,V,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
boolean intercept,
UUID subjId,
String taskName)
Update method for local cache in atomic mode.
|
boolean |
GridCacheMapEntry.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheEntryEx.invalidate(GridCacheVersion curVer,
GridCacheVersion newVer)
Invalidates this entry.
|
boolean |
GridCacheMvcc.isEmpty(GridCacheVersion... exclude) |
boolean |
GridCacheMvcc.isLocallyOwned(GridCacheVersion lockVer) |
boolean |
GridCacheMvcc.isLocallyOwnedByIdOrThread(GridCacheVersion lockVer,
long threadId) |
boolean |
GridCacheMvcc.isLocallyOwnedByThread(long threadId,
boolean allowDhtLoc,
GridCacheVersion... exclude) |
boolean |
GridCacheMvcc.isOwnedBy(GridCacheVersion ver) |
boolean |
GridCacheMvccManager.isRemoved(GridCacheContext<K,V> cacheCtx,
GridCacheVersion ver) |
List<GridCacheMvccCandidate<K>> |
GridCacheMvcc.localCandidates(boolean reentries,
GridCacheVersion... excludeVers) |
Collection<GridCacheMvccCandidate<K>> |
GridCacheMapEntry.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
Collection<GridCacheMvccCandidate<K>> |
GridCacheEntryEx.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
Collection<GridCacheMvccCandidate<K>> |
GridCacheMvcc.localCandidates(GridCacheVersion... excludeVers) |
Collection<GridCacheVersion> |
GridCacheMvccManager.localDhtPendingVersions(Collection<K> keys,
GridCacheVersion base) |
boolean |
GridCacheMapEntry.lockedBy(GridCacheVersion ver) |
boolean |
GridCacheEntryEx.lockedBy(GridCacheVersion ver) |
boolean |
GridCacheMapEntry.lockedByAny(GridCacheVersion... exclude) |
boolean |
GridCacheEntryEx.lockedByAny(GridCacheVersion... exclude) |
boolean |
GridCacheMapEntry.lockedByThread(long threadId,
GridCacheVersion exclude) |
boolean |
GridCacheEntryEx.lockedByThread(long threadId,
GridCacheVersion exclude) |
boolean |
GridCacheMapEntry.lockedByUnsafe(GridCacheVersion ver) |
boolean |
GridCacheEntryEx.lockedByUnsafe(GridCacheVersion ver) |
boolean |
GridCacheMapEntry.lockedLocally(GridCacheVersion lockVer) |
boolean |
GridCacheEntryEx.lockedLocally(GridCacheVersion lockVer) |
boolean |
GridCacheMapEntry.lockedLocallyByIdOrThread(GridCacheVersion lockVer,
long threadId) |
boolean |
GridCacheEntryEx.lockedLocallyByIdOrThread(GridCacheVersion lockVer,
long threadId) |
boolean |
GridCacheMapEntry.lockedLocallyUnsafe(GridCacheVersion lockVer) |
boolean |
GridCacheEntryEx.lockedLocallyUnsafe(GridCacheVersion lockVer) |
GridCacheVersion |
GridCacheMvccManager.mappedVersion(GridCacheVersion from) |
void |
GridCacheMvccManager.mapVersion(GridCacheVersion from,
GridCacheVersion to) |
boolean |
GridCacheMapEntry.markObsolete(GridCacheVersion ver)
Sets obsolete flag if possible.
|
boolean |
GridCacheEntryEx.markObsolete(GridCacheVersion ver)
Sets obsolete flag if possible.
|
protected boolean |
GridCacheMapEntry.markObsolete0(GridCacheVersion ver,
boolean clear)
Note that
GridCacheMapEntry.onMarkedObsolete() should always be called after this method
returns true. |
boolean |
GridCacheMapEntry.markObsoleteIfEmpty(GridCacheVersion ver)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
boolean |
GridCacheEntryEx.markObsoleteIfEmpty(GridCacheVersion ver)
Sets obsolete flag if entry value is
null or entry is expired and no
locks are held. |
boolean |
GridCacheMapEntry.markObsoleteVersion(GridCacheVersion ver)
Sets obsolete flag if entry version equals to
ver. |
boolean |
GridCacheEntryEx.markObsoleteVersion(GridCacheVersion ver)
Sets obsolete flag if entry version equals to
ver. |
GridCacheMvccCandidate<K> |
GridCacheMvcc.markOwned(GridCacheVersion baseVer,
GridCacheVersion owned)
Puts owned versions in front of base.
|
boolean |
GridCacheMvccCandidate.matches(GridCacheVersion ver,
UUID nodeId,
long threadId)
Checks if this candidate matches version or thread-nodeId combination.
|
boolean |
GridCacheMapEntry.obsolete(GridCacheVersion exclude) |
boolean |
GridCacheEntryEx.obsolete(GridCacheVersion exclude) |
protected void |
GridCacheMapEntry.obsoleteVersionExtras(GridCacheVersion obsoleteVer) |
void |
GridCacheContext.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
abstract void |
GridCacheAdapter.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
boolean |
GridCacheMapEntry.onTtlExpired(GridCacheVersion obsoleteVer)
Callback from ttl processor to cache entry indicating that entry is expired.
|
boolean |
GridCacheEntryEx.onTtlExpired(GridCacheVersion obsoleteVer)
Callback from ttl processor to cache entry indicating that entry is expired.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Moves completed candidates right before the base one.
|
boolean |
GridCacheMvccCandidate.otherVersion(GridCacheVersion otherVer)
Sets mapped version for candidate.
|
boolean |
GridCacheMvccCandidate.ownerVersion(GridCacheVersion ownerVer)
Sets owned version for proper lock ordering when remote candidate is added.
|
boolean |
GridCacheStoreManager.putToStore(IgniteInternalTx tx,
K key,
V val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyLocal(GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyNearLocal(GridCacheVersion ver,
GridCacheVersion mappedVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledBackVers,
Collection<GridCacheVersion> pending)
Marks near-local candidate as ready and makes locks reassignment.
|
List<GridCacheMvccCandidate<K>> |
GridCacheMvcc.remoteCandidates(GridCacheVersion... excludeVers) |
Collection<GridCacheMvccCandidate<K>> |
GridCacheMapEntry.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
Collection<GridCacheMvccCandidate<K>> |
GridCacheEntryEx.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.remove(GridCacheVersion ver)
Removes lock even if it is not owner.
|
IgniteInternalFuture<?> |
GridCacheMvccManager.removeAtomicFuture(GridCacheVersion futVer) |
GridCacheMvccCandidate<K> |
GridCacheExplicitLockSpan.removeCandidate(K key,
GridCacheVersion ver)
Removes lock by key and optional version.
|
GridCacheMvccCandidate<K> |
GridCacheMvccManager.removeExplicitLock(long threadId,
K key,
GridCacheVersion ver)
Removes explicit lock for given thread id, key and optional version.
|
boolean |
GridCacheEntryEx.removeLock(GridCacheVersion ver) |
void |
GridCacheMvcc.salvageRemote(GridCacheVersion ver)
For all remote candidates standing behind the candidate being salvaged marks their transactions
as system invalidate and marks these candidates as owned and used.
|
void |
IgniteCacheExpiryPolicy.ttlUpdated(Object key,
byte[] keyBytes,
GridCacheVersion ver,
Collection<UUID> rdrs)
Callback for ttl update on entry access.
|
void |
GridCacheAdapter.CacheExpiryPolicy.ttlUpdated(Object key,
byte[] keyBytes,
GridCacheVersion ver,
Collection<UUID> rdrs) |
GridCacheVersion |
GridCacheMvccManager.unmapVersion(GridCacheVersion from) |
protected void |
GridCacheMapEntry.update(V val,
byte[] valBytes,
long expireTime,
long ttl,
GridCacheVersion ver) |
protected void |
GridCacheMapEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V prevVal)
Updates cache index.
|
void |
GridCacheMapEntry.updateTtl(GridCacheVersion ver,
long ttl) |
void |
GridCacheEntryEx.updateTtl(GridCacheVersion ver,
long ttl) |
GridCacheValueBytes |
GridCacheMapEntry.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
GridCacheValueBytes |
GridCacheEntryEx.valueBytes(GridCacheVersion ver)
Gets cached serialized value bytes.
|
void |
GridCacheEntryInfo.version(GridCacheVersion ver) |
boolean |
GridCacheMapEntry.versionedValue(V val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
boolean |
GridCacheEntryEx.versionedValue(V val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
static byte[] |
GridCacheUtils.versionToBytes(GridCacheVersion ver)
Converts cache version to byte array.
|
static void |
GridCacheUtils.writeVersion(ObjectOutput out,
GridCacheVersion ver)
Writes
GridCacheVersion to output stream. |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.doneRemote(GridCacheVersion ver,
Collection<GridCacheVersion> pending,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback)
Sets remote candidate to done.
|
boolean |
GridCacheStoreManager.loadCache(GridInClosure3<K,V,GridCacheVersion> vis,
Object[] args)
Loads data from persistent store.
|
void |
GridCacheStoreManager.localStoreLoadAll(IgniteInternalTx tx,
Collection<? extends K> keys,
GridInClosure3<K,V,GridCacheVersion> vis) |
GridCacheMvccCandidate<K> |
GridCacheMvcc.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Moves completed candidates right before the base one.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Moves completed candidates right before the base one.
|
boolean |
GridCacheStoreManager.putAllToStore(IgniteInternalTx tx,
Map<K,IgniteBiTuple<V,GridCacheVersion>> map)
Puts key-value pair into storage.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyNearLocal(GridCacheVersion ver,
GridCacheVersion mappedVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledBackVers,
Collection<GridCacheVersion> pending)
Marks near-local candidate as ready and makes locks reassignment.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyNearLocal(GridCacheVersion ver,
GridCacheVersion mappedVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledBackVers,
Collection<GridCacheVersion> pending)
Marks near-local candidate as ready and makes locks reassignment.
|
GridCacheMvccCandidate<K> |
GridCacheMvcc.readyNearLocal(GridCacheVersion ver,
GridCacheVersion mappedVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledBackVers,
Collection<GridCacheVersion> pending)
Marks near-local candidate as ready and makes locks reassignment.
|
void |
GridCacheProjectionEx.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
void |
GridCacheProjectionImpl.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
void |
GridCacheProxyImpl.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
void |
GridCacheAdapter.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
IgniteInternalFuture<?> |
GridCacheProjectionEx.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
IgniteInternalFuture<?> |
GridCacheProjectionImpl.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
IgniteInternalFuture<?> |
GridCacheProxyImpl.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
IgniteInternalFuture<?> |
GridCacheAdapter.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
| Constructor and Description |
|---|
GridCacheBatchSwapEntry(K key,
byte[] keyBytes,
int part,
ByteBuffer valBytes,
boolean valIsByteArr,
GridCacheVersion ver,
long ttl,
long expireTime,
IgniteUuid keyClsLdrId,
IgniteUuid valClsLdrId)
Creates batch swap entry.
|
GridCacheClearAllRunnable(GridCacheAdapter<K,V> cache,
GridCacheVersion obsoleteVer,
int id,
int totalCnt)
Constructor.
|
GridCacheLockTimeoutException(GridCacheVersion ver) |
GridCacheMvccCandidate(GridCacheEntryEx<K,?> parent,
UUID nodeId,
UUID otherNodeId,
GridCacheVersion otherVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean loc,
boolean reentry,
boolean tx,
boolean singleImplicit,
boolean nearLoc,
boolean dhtLoc) |
GridCacheSwapEntryImpl(ByteBuffer valBytes,
boolean valIsByteArr,
GridCacheVersion ver,
long ttl,
long expireTime,
IgniteUuid keyClsLdrId,
IgniteUuid valClsLdrId) |
GridCacheUpdateAtomicResult(boolean success,
V oldVal,
V newVal,
javax.cache.processor.EntryProcessorResult<?> res,
long newTtl,
long drExpireTime,
GridCacheVersion rmvVer,
GridCacheVersionConflictContext<K,V> drRes,
boolean sndToDht)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheVersion |
GridDistributedBaseMessage.ver
Lock or transaction version.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridDistributedTxFinishRequest.baseVersion() |
GridCacheVersion |
GridDistributedTxFinishRequest.commitVersion() |
GridCacheVersion |
GridDistributedTxMapping.dhtVersion() |
GridCacheVersion |
GridCacheMappedVersion.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheVersion |
GridDistributedLockRequest.nearXidVersion() |
GridCacheVersion |
GridCacheOptimisticCheckPreparedTxRequest.nearXidVersion() |
GridCacheVersion |
GridCacheCommittedTxInfo.originatingTxId() |
GridCacheVersion |
GridDistributedBaseMessage.version() |
GridCacheVersion |
GridCacheOptimisticCheckPreparedTxFuture.version() |
GridCacheVersion |
GridCacheTtlUpdateRequest.version(int idx) |
GridCacheVersion |
GridDistributedTxPrepareRequest.writeVersion() |
GridCacheVersion |
GridDistributedTxFinishResponse.xid() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheVersion> |
GridDistributedTxRemoteAdapter.alternateVersions() |
Collection<GridCacheVersion> |
GridDistributedBaseMessage.committedVersions() |
Map<IgniteTxKey<K>,GridCacheVersion> |
GridDistributedTxPrepareRequest.dhtVersions() |
List<GridCacheVersion> |
GridCacheTtlUpdateRequest.nearVersions() |
Collection<GridCacheVersion> |
GridDistributedBaseMessage.rolledbackVersions() |
List<GridCacheVersion> |
GridCacheTtlUpdateRequest.versions() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDistributedTxPrepareRequest.addDhtVersion(IgniteTxKey<K> key,
GridCacheVersion dhtVer)
Adds version to be verified on remote node.
|
void |
GridCacheTtlUpdateRequest.addEntry(byte[] keyBytes,
GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
void |
GridCacheTtlUpdateRequest.addNearEntry(byte[] keyBytes,
GridCacheVersion ver) |
void |
GridDistributedCacheEntry.addRemote(UUID nodeId,
UUID otherNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean tx,
boolean implicitSingle,
GridCacheVersion owned)
Adds new lock candidate.
|
boolean |
GridDistributedCacheEntry.addRemoved(GridCacheVersion ver) |
protected void |
GridDistributedCacheEntry.checkRemoved(GridCacheVersion ver) |
void |
GridDistributedTxMapping.dhtVersion(GridCacheVersion dhtVer) |
void |
GridDistributedTxRemoteAdapter.doneRemote(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.doneRemote(GridCacheVersion lockVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> pendingVers,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
boolean sysInvalidate) |
void |
GridDistributedCacheEntry.orderCompleted(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers)
Reorders completed versions.
|
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.readyLock(GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridDistributedCacheEntry.readyNearLock(GridCacheVersion ver,
GridCacheVersion mapped,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledBack,
Collection<GridCacheVersion> pending)
Notifies mvcc that near local lock is ready to be acquired.
|
Collection<GridCacheMvccCandidate<K>> |
GridDistributedCacheEntry.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
boolean |
GridDistributedCacheEntry.removeLock(GridCacheVersion ver) |
void |
GridDistributedCacheAdapter.removeVersionedEntry(K key,
GridCacheVersion ver) |
void |
GridDistributedBaseMessage.version(GridCacheVersion ver) |
| Constructor and Description |
|---|
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
IgniteTxKey grpLockKey) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
IgniteTxKey grpLockKey) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridDhtTxLocal.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheVersion |
GridDhtLockFuture.mappedVersion()
Mapping should occur only if this interface returns a non-null value.
|
GridCacheVersion |
GridDhtLockFuture.nearLockVersion() |
GridCacheVersion |
GridDhtTxLocal.nearXidVersion() |
GridCacheVersion |
GridDhtTxPrepareRequest.nearXidVersion() |
GridCacheVersion |
GridDhtTxRemote.nearXidVersion() |
GridCacheVersion |
GridDhtLockRequest.owned(K key) |
GridCacheVersion |
GridDhtGetFuture.version() |
GridCacheVersion |
GridDhtTxFinishFuture.version() |
GridCacheVersion |
GridDhtLockFuture.version() |
GridCacheVersion |
GridPartitionedGetFuture.version() |
GridCacheVersion |
GridDhtTxPrepareFuture.version() |
GridCacheVersion |
GridDhtTxFinishRequest.writeVersion() |
| Modifier and Type | Method and Description |
|---|---|
Map<IgniteTxKey<K>,GridCacheVersion> |
GridDhtTxPrepareRequest.owned() |
Collection<GridCacheVersion> |
GridDhtTxLocalAdapter.pendingVersions() |
Collection<GridCacheVersion> |
GridDhtTxFinishRequest.pendingVersions()
Gets versions of not acquired locks with version less then one of transaction being committed.
|
GridTuple3<GridCacheVersion,V,byte[]> |
GridDhtCacheEntry.versionedValue(long topVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.addDhtLocal(UUID nearNodeId,
GridCacheVersion nearVer,
long topVer,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
boolean |
GridDhtCacheEntry.clearInternal(GridCacheVersion ver,
boolean swap)
Marks entry as obsolete and, if possible or required, removes it
from swap storage.
|
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.localCandidateByNearVersion(GridCacheVersion nearVer,
boolean rmv) |
GridCacheMvccCandidate<K> |
GridDhtCacheEntry.mappings(GridCacheVersion ver)
Sets mappings into entry.
|
void |
GridDhtCacheAdapter.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
void |
GridDhtLocalPartition.onDeferredDelete(K key,
GridCacheVersion ver) |
void |
GridDhtLocalPartition.onEntryEvicted(K key,
GridCacheVersion ver) |
void |
GridDhtTxPrepareRequest.owned(IgniteTxKey<K> key,
GridCacheVersion ownerMapped)
Sets owner and its mapped version.
|
void |
GridDhtLockRequest.owned(K key,
byte[] keyBytes,
GridCacheVersion ownerMapped)
Sets owner and its mapped version.
|
boolean |
GridDhtLocalPartition.preloadingPermitted(K key,
GridCacheVersion ver)
Cache preloader should call this method within partition lock.
|
boolean |
GridDhtCacheEntry.removeLock(GridCacheVersion ver) |
void |
GridDhtTransactionalCacheAdapter.removeLocks(UUID nodeId,
GridCacheVersion ver,
Iterable<? extends K> keys,
boolean unmap) |
void |
GridDhtTxFinishRequest.writeVersion(GridCacheVersion writeVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtTxLocalAdapter.pendingVersions(Collection<GridCacheVersion> pendingVers) |
IgniteInternalFuture<IgniteInternalTx<K,V>> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry<K,V>> reads,
Iterable<IgniteTxEntry<K,V>> writes,
Map<IgniteTxKey<K>,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb)
Prepares next batch of entries in dht transaction.
|
| Constructor and Description |
|---|
GridDhtLockFuture(GridCacheContext<K,V> cctx,
UUID nearNodeId,
GridCacheVersion nearLockVer,
long topVer,
int cnt,
boolean read,
long timeout,
GridDhtTxLocalAdapter<K,V> tx,
long threadId,
long accessTtl,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter) |
GridDhtLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion lockVer,
long topVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash,
long accessTtl) |
GridDhtLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
int cnt) |
GridDhtLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxFinishResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId) |
GridDhtTxLocal(GridCacheSharedContext<K,V> cctx,
UUID nearNodeId,
GridCacheVersion nearXidVer,
IgniteUuid nearFutId,
IgniteUuid nearMiniId,
long nearThreadId,
boolean implicit,
boolean implicitSingle,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash) |
GridDhtTxLocalAdapter(GridCacheSharedContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareRequest(IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridDhtTxLocalAdapter<K,V> tx,
Collection<IgniteTxEntry<K,V>> dhtWrites,
Collection<IgniteTxEntry<K,V>> nearWrites,
IgniteTxKey grpLockKey,
boolean partLock,
Map<UUID,Collection<UUID>> txNodes,
GridCacheVersion nearXidVer,
boolean last,
boolean onePhaseCommit,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId) |
GridDhtTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridDhtTxRemote(GridCacheSharedContext<K,V> ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
GridDhtTxRemote(GridCacheSharedContext<K,V> ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
| Constructor and Description |
|---|
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareFuture(GridCacheSharedContext<K,V> cctx,
GridDhtTxLocalAdapter<K,V> tx,
IgniteUuid nearMiniId,
Map<IgniteTxKey<K>,GridCacheVersion> dhtVerMap,
boolean last,
boolean retVal,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse<K,V>> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridNearAtomicUpdateRequest.drVersion(int idx) |
GridCacheVersion |
GridDhtAtomicUpdateRequest.drVersion(int idx) |
GridCacheVersion |
GridNearAtomicUpdateResponse.futureVersion() |
GridCacheVersion |
GridDhtAtomicUpdateResponse.futureVersion() |
GridCacheVersion |
GridNearAtomicUpdateRequest.futureVersion() |
GridCacheVersion |
GridDhtAtomicUpdateRequest.futureVersion() |
GridCacheVersion |
GridNearAtomicUpdateResponse.nearVersion() |
GridCacheVersion |
GridNearAtomicUpdateRequest.updateVersion() |
GridCacheVersion |
GridDhtAtomicUpdateFuture.version() |
GridCacheVersion |
GridNearAtomicUpdateFuture.version() |
GridCacheVersion |
GridDhtAtomicUpdateRequest.writeVersion() |
| Modifier and Type | Method and Description |
|---|---|
List<GridCacheVersion> |
GridNearAtomicUpdateRequest.drVersions() |
List<GridCacheVersion> |
GridDhtAtomicUpdateRequest.drVersions() |
Collection<GridCacheVersion> |
GridDhtAtomicDeferredUpdateResponse.futureVersions() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearAtomicUpdateRequest.addUpdateEntry(K key,
Object val,
long drTtl,
long drExpireTime,
GridCacheVersion drVer,
boolean primary) |
void |
GridDhtAtomicUpdateFuture.addWriteEntry(GridDhtCacheEntry<K,V> entry,
V val,
byte[] valBytes,
javax.cache.processor.EntryProcessor<K,V,?> entryProcessor,
long ttl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
javax.cache.processor.EntryProcessor<K,V,?> entryProcessor,
long ttl,
long drExpireTime,
GridCacheVersion drVer) |
void |
GridNearAtomicUpdateResponse.nearVersion(GridCacheVersion nearVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtAtomicCache.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
IgniteInternalFuture<?> |
GridDhtAtomicCache.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
| Constructor and Description |
|---|
GridDhtAtomicUpdateFuture(GridCacheContext<K,V> cctx,
CI2<GridNearAtomicUpdateRequest<K,V>,GridNearAtomicUpdateResponse<K,V>> completionCb,
GridCacheVersion writeVer,
GridNearAtomicUpdateRequest<K,V> updateReq,
GridNearAtomicUpdateResponse<K,V> updateRes) |
GridDhtAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
long topVer,
boolean forceTransformBackups,
UUID subjId,
int taskNameHash,
Object[] invokeArgs)
Constructor.
|
GridDhtAtomicUpdateResponse(int cacheId,
GridCacheVersion futVer) |
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
long topVer,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
boolean forceTransformBackups,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
UUID subjId,
int taskNameHash)
Constructor.
|
GridNearAtomicUpdateResponse(int cacheId,
UUID nodeId,
GridCacheVersion futVer) |
| Constructor and Description |
|---|
GridDhtAtomicDeferredUpdateResponse(int cacheId,
Collection<GridCacheVersion> futVers)
Constructor.
|
GridNearAtomicUpdateFuture(GridCacheContext<K,V> cctx,
GridDhtAtomicCache<K,V> cache,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
Collection<? extends K> keys,
Collection<?> vals,
Object[] invokeArgs,
Collection<GridCacheDrInfo<V>> drPutVals,
Collection<GridCacheVersion> drRmvVals,
boolean retval,
boolean rawRetval,
GridCacheEntryEx<K,V> cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridDhtColocatedLockFuture.version() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDhtDetachedCacheEntry.addRemoved(GridCacheVersion ver) |
void |
GridDhtColocatedCache.removeLocks(long threadId,
GridCacheVersion ver,
Collection<? extends K> keys)
Removes locks regardless of whether they are owned or not for given
version and keys.
|
void |
GridDhtDetachedCacheEntry.resetFromPrimary(V val,
byte[] valBytes,
GridCacheVersion ver)
Sets value to detached entry so it can be retrieved in transactional gets.
|
protected void |
GridDhtDetachedCacheEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V old)
Updates cache index.
|
| Constructor and Description |
|---|
GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id,
GridCacheVersion lastVer,
long topVer) |
GridDhtPartitionsSingleMessage(GridDhtPartitionExchangeId exchId,
GridCacheVersion lastVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridNearTxPrepareResponse.dhtVersion() |
GridCacheVersion |
GridNearCacheEntry.dhtVersion() |
GridCacheVersion |
GridNearLockRequest.dhtVersion(int idx) |
GridCacheVersion |
GridNearLockResponse.dhtVersion(int idx) |
GridCacheVersion |
GridNearLockResponse.mappedVersion(int idx)
Returns DHT candidate version for acquired near lock on DHT node.
|
GridCacheVersion |
GridNearTxLocal.nearXidVersion() |
GridCacheVersion |
GridNearTxRemote.nearXidVersion() |
GridCacheVersion |
GridNearTxRemote.ownedVersion(IgniteTxKey<K> key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
GridNearTxFinishFuture.version() |
GridCacheVersion |
GridNearGetResponse.version() |
GridCacheVersion |
GridNearGetRequest.version() |
GridCacheVersion |
GridNearLockFuture.version() |
GridCacheVersion |
GridNearGetFuture.version() |
GridCacheVersion |
GridNearTxPrepareFuture.version() |
| Modifier and Type | Method and Description |
|---|---|
Map<IgniteTxKey<K>,GridTuple3<GridCacheVersion,V,byte[]>> |
GridNearTxPrepareResponse.ownedValues() |
Collection<GridCacheVersion> |
GridNearTxPrepareResponse.pending()
Gets pending versions that are less than
GridDistributedBaseMessage.version(). |
Collection<GridCacheVersion> |
GridNearLockResponse.pending()
Gets pending versions that are less than
GridDistributedBaseMessage.version(). |
GridTuple3<GridCacheVersion,V,byte[]> |
GridNearCacheEntry.versionedValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridNearTxRemote.addEntry(GridCacheContext<K,V> cacheCtx,
IgniteTxKey<K> key,
byte[] keyBytes,
GridCacheOperation op,
V val,
byte[] valBytes,
GridCacheVersion drVer) |
void |
GridNearLockRequest.addKeyBytes(K key,
byte[] keyBytes,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheContext<K,V> ctx)
Adds a key.
|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate<K> |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
void |
GridNearTxPrepareResponse.addOwnedValue(IgniteTxKey<K> key,
GridCacheVersion ver,
V val,
byte[] valBytes)
Adds owned value.
|
void |
GridNearLockResponse.addValueBytes(V val,
byte[] valBytes,
boolean filterPassed,
GridCacheVersion dhtVer,
GridCacheVersion mappedVer,
GridCacheContext<K,V> ctx) |
GridCacheMvccCandidate<K> |
GridNearCacheEntry.dhtNodeId(GridCacheVersion ver,
UUID dhtNodeId) |
protected boolean |
GridNearTransactionalCache.evictNearEntry(GridCacheEntryEx<K,V> e,
GridCacheVersion obsoleteVer,
long topVer) |
boolean |
GridNearCacheEntry.loadedValue(IgniteInternalTx tx,
UUID primaryNodeId,
V val,
byte[] valBytes,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
long topVer,
UUID subjId) |
void |
GridNearTransactionalCache.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
void |
GridNearAtomicCache.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
void |
GridNearCacheEntry.recordDhtVersion(GridCacheVersion dhtVer)
This method should be called only when committing optimistic transactions.
|
void |
GridNearTransactionalCache.removeLocks(GridCacheVersion ver,
Collection<? extends K> keys)
Removes locks regardless of whether they are owned or not for given
version and keys.
|
boolean |
GridNearCacheEntry.resetFromPrimary(V val,
byte[] valBytes,
GridCacheVersion ver,
GridCacheVersion dhtVer,
UUID primaryNodeId)
This method should be called only when lock is owned on this entry.
|
protected void |
GridNearCacheEntry.updateIndex(V val,
byte[] valBytes,
long expireTime,
GridCacheVersion ver,
V old)
Updates cache index.
|
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
V val,
byte[] valBytes,
long expireTime,
long ttl,
UUID primaryNodeId)
This method should be called only when lock is owned on this entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearTxRemote.ownedVersions(Map<IgniteTxKey<K>,GridCacheVersion> vers)
Adds owned versions to map.
|
void |
GridNearTxPrepareResponse.pending(Collection<GridCacheVersion> pending)
Sets pending versions that are less than
GridDistributedBaseMessage.version(). |
void |
GridNearLockResponse.pending(Collection<GridCacheVersion> pending)
Sets pending versions that are less than
GridDistributedBaseMessage.version(). |
void |
GridNearAtomicCache.removeAllDr(Map<? extends K,GridCacheVersion> drMap)
Removes DR data.
|
IgniteInternalFuture<?> |
GridNearAtomicCache.removeAllDrAsync(Map<? extends K,GridCacheVersion> drMap)
Removes DR data asynchronously.
|
| Constructor and Description |
|---|
GridNearCacheClearAllRunnable(GridCacheAdapter<K,V> cache,
GridCacheVersion obsoleteVer,
GridCacheClearAllRunnable<K,V> dhtJob)
Constructor.
|
GridNearGetRequest(int cacheId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion ver,
LinkedHashMap<K,Boolean> keys,
boolean readThrough,
boolean reload,
long topVer,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipVals) |
GridNearGetResponse(int cacheId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion ver) |
GridNearLockRequest(int cacheId,
long topVer,
UUID nodeId,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean syncCommit,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash,
long accessTtl) |
GridNearLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
boolean filterRes,
int cnt,
Throwable err) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxFinishResponse(GridCacheVersion xid,
long nearThreadId,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridNearTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion dhtVer,
Collection<Integer> invalidParts,
GridCacheReturn<V> retVal,
Throwable err) |
GridNearTxRemote(GridCacheSharedContext<K,V> ctx,
ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
Collection<IgniteTxEntry<K,V>> writeEntries,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(GridCacheSharedContext<K,V> ctx,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
| Constructor and Description |
|---|
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheDrInfo.version() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDrManager.replicate(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
| Constructor and Description |
|---|
GridCacheDrExpirationInfo(V val,
GridCacheVersion ver,
long ttl,
long expireTime)
Constructor.
|
GridCacheDrInfo(V val,
GridCacheVersion ver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsCacheDrManager.replicate(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheEntryExtrasAdapter.obsoleteVersion() |
GridCacheVersion |
GridCacheObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesMvccObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheMvccObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheMvccObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesMvccObsoleteEntryExtras.obsoleteVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheEntryExtras<K> |
GridCacheObsoleteTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesObsoleteEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheObsoleteEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheMvccTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesObsoleteTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheMvccObsoleteEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheMvccEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheMvccObsoleteTtlEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
GridCacheEntryExtras<K> |
GridCacheAttributesMvccObsoleteEntryExtras.obsoleteVersion(GridCacheVersion obsoleteVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridLocalLockFuture.version() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
void |
GridLocalCache.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
GridCacheMvccCandidate<K> |
GridLocalCacheEntry.readyLocal(GridCacheVersion ver) |
boolean |
GridLocalCacheEntry.removeLock(GridCacheVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridLocalAtomicCache.onDeferredDelete(GridCacheEntryEx<K,V> entry,
GridCacheVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheQueryManager.store(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion ver,
long expirationTime)
Writes key-value pair to index.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheVersion |
IgniteTxAdapter.endVer
End version (a.k.a.
|
protected GridCacheVersion |
IgniteTxLocalAdapter.minVer
Minimal version encountered (either explicit lock or XID of this transaction).
|
protected GridCacheVersion |
IgniteTxAdapter.startVer
Transaction counter value at the start of transaction.
|
protected GridCacheVersion |
IgniteTxAdapter.writeVer
Entries write version.
|
protected GridCacheVersion |
IgniteTxAdapter.xidVer
Transaction ID.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
IgniteTxAdapter.commitVersion() |
GridCacheVersion |
IgniteInternalTx.commitVersion() |
GridCacheVersion |
IgniteTxLocalAdapter.completedBase() |
GridCacheVersion |
IgniteTxEntry.dhtVersion() |
GridCacheVersion |
IgniteTxEntry.drVersion() |
GridCacheVersion |
IgniteTxAdapter.endVersion() |
GridCacheVersion |
IgniteInternalTx.endVersion() |
GridCacheVersion |
IgniteTxEntry.explicitVersion() |
GridCacheVersion |
IgniteTxManager.mappedVersion(GridCacheVersion from) |
GridCacheVersion |
IgniteTxLocalEx.minVersion() |
GridCacheVersion |
IgniteTxLocalAdapter.minVersion()
Gets minimum version present in transaction.
|
GridCacheVersion |
IgniteTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
GridCacheVersion |
IgniteTxAdapter.nearXidVersion() |
GridCacheVersion |
IgniteInternalTx.nearXidVersion() |
GridCacheVersion |
IgniteTxAdapter.ownedVersion(IgniteTxKey<K> key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
IgniteInternalTx.ownedVersion(IgniteTxKey<K> key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
IgniteTxAdapter.startVersion() |
GridCacheVersion |
IgniteInternalTx.startVersion() |
GridCacheVersion |
IgniteTxManager.txContextVersion()
Gets version of transaction in tx context or
null
if tx context is empty. |
GridCacheVersion |
IgniteTxAdapter.writeVersion() |
GridCacheVersion |
IgniteInternalTx.writeVersion() |
GridCacheVersion |
IgniteTxAdapter.xidVersion() |
GridCacheVersion |
IgniteInternalTx.xidVersion() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheVersion> |
IgniteInternalTx.alternateVersions() |
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.alternateVersions() |
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.committedVersions() |
Collection<GridCacheVersion> |
IgniteTxManager.committedVersions(GridCacheVersion min)
Gets committed transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.rolledbackVersions() |
Collection<GridCacheVersion> |
IgniteTxManager.rolledbackVersions(GridCacheVersion min)
Gets rolledback transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteTxManager.addAlternateVersion(GridCacheVersion ver,
IgniteInternalTx<K,V> tx) |
boolean |
IgniteTxManager.addCommittedTx(GridCacheVersion xidVer,
GridCacheVersion nearXidVer) |
protected IgniteTxEntry<K,V> |
IgniteTxLocalAdapter.addEntry(GridCacheOperation op,
V val,
javax.cache.processor.EntryProcessor entryProcessor,
Object[] invokeArgs,
GridCacheEntryEx<K,V> entry,
javax.cache.expiry.ExpiryPolicy expiryPlc,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
boolean filtersSet,
long drTtl,
long drExpireTime,
GridCacheVersion drVer) |
boolean |
IgniteTxManager.addRolledbackTx(GridCacheVersion xidVer) |
Collection<GridCacheVersion> |
IgniteTxManager.committedVersions(GridCacheVersion min)
Gets committed transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
boolean |
IgniteTxAdapter.commitVersion(GridCacheVersion commitVer) |
boolean |
IgniteInternalTx.commitVersion(GridCacheVersion commitVer) |
void |
IgniteTxAdapter.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> txs) |
void |
IgniteInternalTx.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback) |
void |
IgniteTxLocalAdapter.completedVersions(GridCacheVersion completedBase,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
protected IgniteBiTuple<GridCacheOperation,GridCacheVersionConflictContext<K,V>> |
IgniteTxAdapter.conflictResolve(GridCacheOperation op,
K key,
V newVal,
byte[] newValBytes,
long newTtl,
long newDrExpireTime,
GridCacheVersion newVer,
GridCacheEntryEx<K,V> old)
Resolve DR conflict.
|
void |
IgniteTxEntry.dhtVersion(GridCacheVersion dhtVer) |
void |
IgniteTxRemoteEx.doneRemote(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers) |
void |
IgniteTxEntry.drVersion(GridCacheVersion drVer) |
void |
IgniteTxAdapter.endVersion(GridCacheVersion endVer) |
void |
IgniteInternalTx.endVersion(GridCacheVersion endVer) |
void |
IgniteTxEntry.explicitVersion(GridCacheVersion explicitVer) |
IgniteInternalTx<K,V> |
IgniteTxManager.localTxForRecovery(GridCacheVersion nearXidVer,
boolean markFinalizing)
Gets local transaction for pessimistic tx recovery.
|
GridCacheVersion |
IgniteTxManager.mappedVersion(GridCacheVersion from) |
<T extends IgniteInternalTx<K,V>> |
IgniteTxManager.nearTx(GridCacheVersion txId) |
GridCacheVersion |
IgniteTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
Collection<GridCacheVersion> |
IgniteTxManager.rolledbackVersions(GridCacheVersion min)
Gets rolledback transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
<T extends IgniteInternalTx<K,V>> |
IgniteTxManager.tx(GridCacheVersion txId) |
boolean |
IgniteTxManager.txsPreparedOrCommitted(GridCacheVersion nearVer,
int txNum)
Checks if transactions with given near version ID was prepared or committed.
|
IgniteInternalTx<K,V> |
IgniteTxManager.txx(GridCacheVersion txId) |
void |
IgniteTxAdapter.writeVersion(GridCacheVersion writeVer)
Sets write version.
|
void |
IgniteInternalTx.writeVersion(GridCacheVersion ver)
Sets write version.
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteTxAdapter.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> txs) |
void |
IgniteTxAdapter.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> txs) |
void |
IgniteInternalTx.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback) |
void |
IgniteInternalTx.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback) |
void |
IgniteTxLocalAdapter.completedVersions(GridCacheVersion completedBase,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
void |
IgniteTxLocalAdapter.completedVersions(GridCacheVersion completedBase,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
void |
IgniteTxRemoteEx.doneRemote(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers) |
void |
IgniteTxRemoteEx.doneRemote(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers) |
void |
IgniteTxRemoteEx.doneRemote(GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers) |
protected IgniteInternalFuture<Set<K>> |
IgniteTxLocalAdapter.enlistWrite(GridCacheContext<K,V> cacheCtx,
Collection<? extends K> keys,
GridCacheEntryEx<K,V> cached,
javax.cache.expiry.ExpiryPolicy expiryPlc,
boolean implicit,
Map<? extends K,? extends V> lookup,
Map<? extends K,javax.cache.processor.EntryProcessor<K,V,Object>> invokeMap,
Object[] invokeArgs,
boolean retval,
boolean lockOnly,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filter,
GridCacheReturn<V> ret,
Collection<K> enlisted,
Map<? extends K,GridCacheDrInfo<V>> drPutMap,
Map<? extends K,GridCacheVersion> drRmvMap)
Internal routine for putAll(..)
|
IgniteInternalFuture<?> |
IgniteTxLocalEx.removeAllDrAsync(GridCacheContext<K,V> cacheCtx,
Map<? extends K,GridCacheVersion> drMap) |
IgniteInternalFuture<?> |
IgniteTxLocalAdapter.removeAllDrAsync(GridCacheContext<K,V> cacheCtx,
Map<? extends K,GridCacheVersion> drMap) |
| Constructor and Description |
|---|
IgniteTxAdapter(GridCacheSharedContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean loc,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
IgniteTxAdapter(GridCacheSharedContext<K,V> cctx,
UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion startVer,
long threadId,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
IgniteTxEntry(GridCacheContext<K,V> ctx,
IgniteInternalTx<K,V> tx,
GridCacheOperation op,
V val,
javax.cache.processor.EntryProcessor<K,V,?> entryProcessor,
Object[] invokeArgs,
long ttl,
GridCacheEntryEx<K,V> entry,
IgnitePredicate<javax.cache.Cache.Entry<K,V>>[] filters,
GridCacheVersion drVer)
This constructor is meant for local transactions.
|
IgniteTxEntry(GridCacheContext<K,V> ctx,
IgniteInternalTx<K,V> tx,
GridCacheOperation op,
V val,
long ttl,
long drExpireTime,
GridCacheEntryEx<K,V> entry,
GridCacheVersion drVer)
This constructor is meant for remote transactions.
|
IgniteTxLocalAdapter(GridCacheSharedContext<K,V> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheVersionEx
Extended cache version which also has additional DR version.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheVersionEx.drVersion() |
GridCacheVersion |
GridCacheVersion.drVersion() |
GridCacheVersion |
GridCacheVersionManager.last()
Gets last generated version without generating a new one.
|
GridCacheVersion |
GridCacheVersionManager.next() |
GridCacheVersion |
GridCacheVersionManager.next(GridCacheVersion ver)
Gets next version based on given cache version.
|
GridCacheVersion |
GridCacheVersionManager.next(long topVer)
Gets next version based on given topology version.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad()
Gets next version for cache store load and reload operations.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad(GridCacheVersion ver)
Gets next version for cache store load and reload operations.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad(long topVer)
Gets next version for cache store load and reload operations.
|
GridCacheVersion |
GridCacheVersionManager.onReceivedAndNext(UUID nodeId,
GridCacheVersion ver) |
GridCacheVersion |
GridCacheVersionable.version() |
GridCacheVersion |
GridCachePlainVersionedEntry.version() |
GridCacheVersion |
GridCacheRawVersionedEntry.version() |
| Modifier and Type | Method and Description |
|---|---|
int |
GridCacheVersion.compareTo(GridCacheVersion other) |
boolean |
GridCacheVersion.isGreater(GridCacheVersion ver) |
boolean |
GridCacheVersion.isGreaterEqual(GridCacheVersion ver) |
boolean |
GridCacheVersion.isLess(GridCacheVersion ver) |
boolean |
GridCacheVersion.isLessEqual(GridCacheVersion ver) |
GridCacheVersion |
GridCacheVersionManager.next(GridCacheVersion ver)
Gets next version based on given cache version.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad(GridCacheVersion ver)
Gets next version for cache store load and reload operations.
|
void |
GridCacheVersionManager.onReceived(UUID nodeId,
GridCacheVersion ver) |
GridCacheVersion |
GridCacheVersionManager.onReceivedAndNext(UUID nodeId,
GridCacheVersion ver) |
| Constructor and Description |
|---|
GridCachePlainVersionedEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver) |
GridCachePlainVersionedEntry(K key,
V val,
long ttl,
long expireTime,
GridCacheVersion ver,
boolean isStartVer) |
GridCacheRawVersionedEntry(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
long ttl,
long expireTime,
GridCacheVersion ver)
Constructor.
|
GridCacheVersionEx(int topVer,
int nodeOrderDrId,
long globalTime,
long order,
GridCacheVersion drVer)
Constructor.
|
GridCacheVersionEx(int topVer,
long globalTime,
long order,
int nodeOrder,
byte dataCenterId,
GridCacheVersion drVer)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static GridCacheVersion |
IgniteUtils.readVersion(byte[] arr,
long off,
boolean verEx) |
static GridCacheVersion |
IgniteUtils.readVersion(long ptr,
boolean verEx) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IgniteUtils.writeVersion(byte[] arr,
long off,
GridCacheVersion ver) |
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC1 Release Date : February 17 2015