## Uses of Class
org.apache.ignite.internal.processors.cache.version.GridCacheVersion

Packages that use GridCacheVersion
Package | Description
--- | ---
org.apache.ignite.internal.processors.cache |
org.apache.ignite.internal.processors.cache.distributed |
org.apache.ignite.internal.processors.cache.distributed.dht |
org.apache.ignite.internal.processors.cache.distributed.dht.atomic |
org.apache.ignite.internal.processors.cache.distributed.dht.colocated |
org.apache.ignite.internal.processors.cache.distributed.dht.preloader |
org.apache.ignite.internal.processors.cache.distributed.near |
org.apache.ignite.internal.processors.cache.dr |
org.apache.ignite.internal.processors.cache.extras |
org.apache.ignite.internal.processors.cache.local |
org.apache.ignite.internal.processors.cache.local.atomic |
org.apache.ignite.internal.processors.cache.query |
org.apache.ignite.internal.processors.cache.store |
org.apache.ignite.internal.processors.cache.transactions |
org.apache.ignite.internal.processors.cache.version |
org.apache.ignite.internal.util | System-wide utility routine and helper classes.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache

Fields in org.apache.ignite.internal.processors.cache declared as GridCacheVersion
Modifier and Type | Field and Description
--- | ---
`protected GridCacheVersion` | GridCacheClearAllRunnable.`obsoleteVer` Obsolete version.
`protected GridCacheVersion` | GridCacheMapEntry.`ver` Version.

Methods in org.apache.ignite.internal.processors.cache that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion[]` | GridCacheContext.`emptyVersion()`
`GridCacheVersion` | GridCacheMvccManager.`mappedVersion(GridCacheVersion from)`
`GridCacheVersion` | GridCacheEntryEx.`obsoleteVersion()`
`GridCacheVersion` | GridCacheMapEntry.`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` | GridCacheMvccCandidate.`serializableOrder()`
`GridCacheVersion` | GridCacheMvccManager.`unmapVersion(GridCacheVersion from)`
`GridCacheVersion` | GridCacheMvccFuture.`version()`
`GridCacheVersion` | GridCacheSwapEntry.`version()`
`GridCacheVersion` | GridCacheMvccCandidate.`version()`
`GridCacheVersion` | GridCacheEntryInfo.`version()`
`GridCacheVersion` | GridCacheSwapEntryImpl.`version()`
`GridCacheVersion` | GridCacheAtomicFuture.`version()`
`GridCacheVersion` | GridCacheEntryEx.`version()`
`GridCacheVersion` | CacheEvictionEntry.`version()`
`GridCacheVersion` | CacheEntryImplEx.`version()` Returns a comparable object representing the version of this cache entry.
`GridCacheVersion` | GridCacheOffheapSwapEntry.`version()`
`GridCacheVersion` | GridCacheMapEntry.`version()`
`static GridCacheVersion` | GridCacheSwapEntryImpl.`version(byte[] bytes)`
`static GridCacheVersion` | GridCacheOffheapSwapEntry.`version(long ptr)`
`GridCacheVersion` | GridCacheEntryEx.`versionedValue(CacheObject val, GridCacheVersion curVer, GridCacheVersion newVer)` Sets new value if passed in version matches the current version (used for read-through only).
`GridCacheVersion` | GridCacheMapEntry.`versionedValue(CacheObject val, GridCacheVersion curVer, GridCacheVersion newVer)` Sets new value if passed in version matches the current version (used for read-through only).

Methods in org.apache.ignite.internal.processors.cache that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`Map<KeyCacheObject,GridCacheVersion>` | IgniteCacheExpiryPolicy.`entries()`
`Map<KeyCacheObject,GridCacheVersion>` | GridCacheAdapter.CacheExpiryPolicy.`entries()`
`T2<CacheObject,GridCacheVersion>` | GridCacheEntryEx.`innerGetVersioned(IgniteInternalTx tx, boolean readSwap, boolean unmarshal, boolean updateMetrics, boolean evt, UUID subjId, Object transformClo, String taskName, IgniteCacheExpiryPolicy expiryPlc, boolean keepBinary)`
`T2<CacheObject,GridCacheVersion>` | GridCacheMapEntry.`innerGetVersioned(IgniteInternalTx tx, boolean readSwap, boolean unmarshal, boolean updateMetrics, boolean evt, UUID subjId, Object transformClo, String taskName, IgniteCacheExpiryPolicy expiryPlc, boolean keepBinary)`
`Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>>` | IgniteCacheExpiryPolicy.`readers()`
`Map<UUID,Collection<IgniteBiTuple<KeyCacheObject,GridCacheVersion>>>` | GridCacheAdapter.CacheExpiryPolicy.`readers()`
`static <K,V> IgniteClosure<IgniteInternalTx,GridCacheVersion>` | GridCacheUtils.`tx2xidVersion()`

Methods in org.apache.ignite.internal.processors.cache with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`boolean` | GridCacheMvccManager.`addAtomicFuture(GridCacheVersion futVer, GridCacheAtomicFuture<?> fut)`
`GridCacheMvccCandidate` | GridCacheMvcc.`addLocal(GridCacheEntryEx parent, long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)`
`GridCacheMvccCandidate` | GridCacheMvcc.`addLocal(GridCacheEntryEx parent, UUID nearNodeId, GridCacheVersion nearVer, long threadId, GridCacheVersion ver, long timeout, GridCacheVersion serOrder, boolean reenter, boolean tx, boolean implicitSingle, boolean dhtLoc)`
`GridCacheMvccCandidate` | GridCacheMvcc.`addNearLocal(GridCacheEntryEx parent, UUID nodeId, UUID otherNodeId, long threadId, GridCacheVersion ver, long timeout, boolean tx, boolean implicitSingle)` Adds new near local lock candidate.
`GridCacheMvccCandidate` | GridCacheMvcc.`addRemote(GridCacheEntryEx 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 cacheCtx, GridCacheVersion ver)`
`IgniteInternalFuture<?>` | GridCacheMvccManager.`atomicFuture(GridCacheVersion futVer)` Gets future by given future ID.
`void` | GridCacheEvictionManager.`batchEvict(Collection<?> keys, GridCacheVersion obsoleteVer)`
`GridCacheMvccCandidate` | GridCacheMvcc.`candidate(GridCacheVersion ver)` Gets candidate for lock ID.
`GridCacheMvccCandidate` | GridCacheEntryEx.`candidate(GridCacheVersion ver)` Gets lock candidate for given lock ID.
`GridCacheMvccCandidate` | GridCacheMapEntry.`candidate(GridCacheVersion ver)` Gets lock candidate for given lock ID.
`GridCacheMvccCandidate` | GridCacheExplicitLockSpan.`candidate(IgniteTxKey key, GridCacheVersion ver)` Gets explicit lock candidate for given key.
`boolean` | GridCacheEntryEx.`checkSerializableReadVersion(GridCacheVersion serReadVer)` Checks if there was read/write conflict in serializable transaction.
`boolean` | GridCacheMapEntry.`checkSerializableReadVersion(GridCacheVersion serReadVer)` Checks if there was read/write conflict in serializable transaction.
`boolean` | GridCacheEntryEx.`clear(GridCacheVersion ver, boolean readers, CacheEntryPredicate[] filter)` Marks entry as obsolete and, if possible or required, removes it from swap storage.
`boolean` | GridCacheMapEntry.`clear(GridCacheVersion ver, boolean readers, CacheEntryPredicate[] filter)` Marks entry as obsolete and, if possible or required, removes it from swap storage.
`int` | GridCacheAtomicVersionComparator.`compare(GridCacheVersion one, GridCacheVersion other, boolean ignoreTime)` Compares two cache versions.
`void` | GridCacheContext.`dhtMap(GridDhtCacheEntry entry, GridCacheVersion explicitLockVer, IgniteLogger log, Map<ClusterNode,List<GridDhtCacheEntry>> dhtMap, Map<ClusterNode,List<GridDhtCacheEntry>> nearMap)`
`void` | GridCacheContext.`dhtMap(UUID nearNodeId, AffinityTopologyVersion topVer, GridDhtCacheEntry entry, GridCacheVersion explicitLockVer, IgniteLogger log, Map<ClusterNode,List<GridDhtCacheEntry>> dhtMap, Map<ClusterNode,List<GridDhtCacheEntry>> nearMap)`
`GridCacheMvccCandidate` | GridCacheMvcc.`doneRemote(GridCacheVersion ver, Collection<GridCacheVersion> pending, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)` Sets remote candidate to done.
`boolean` | GridCacheEvictionManager.`evict(GridCacheEntryEx entry, GridCacheVersion obsoleteVer, boolean explicit, CacheEntryPredicate[] filter)`
`GridCacheBatchSwapEntry` | GridCacheEntryEx.`evictInBatchInternal(GridCacheVersion obsoleteVer)` Evicts entry when batch evict is performed.
`GridCacheBatchSwapEntry` | GridCacheMapEntry.`evictInBatchInternal(GridCacheVersion obsoleteVer)` Evicts entry when batch evict is performed.
`boolean` | GridCacheEntryEx.`evictInternal(boolean swap, GridCacheVersion obsoleteVer, CacheEntryPredicate[] filter)`
`boolean` | GridCacheMapEntry.`evictInternal(boolean swap, GridCacheVersion obsoleteVer, CacheEntryPredicate[] filter)`
`GridCacheMvccCandidate` | GridCacheMvccManager.`explicitLock(IgniteTxKey key, GridCacheVersion ver)` Gets explicit lock candidate added by any thread by given key and lock version.
`boolean` | GridCacheMvcc.`hasCandidate(GridCacheVersion ver)`
`boolean` | GridCacheEntryEx.`hasLockCandidate(GridCacheVersion ver)` Checks if the candidate is either owner or pending.
`boolean` | GridCacheMapEntry.`hasLockCandidate(GridCacheVersion ver)` Checks if the candidate is either owner or pending.
`boolean` | GridCacheEntryEx.`hasLockCandidateUnsafe(GridCacheVersion ver)`
`boolean` | GridCacheMapEntry.`hasLockCandidateUnsafe(GridCacheVersion ver)`
`boolean` | GridCacheEntryEx.`initialValue(CacheObject val, GridCacheVersion ver, long ttl, long expireTime, boolean preload, AffinityTopologyVersion topVer, GridDrType drType)` Sets new value if current version is `0`
`boolean` | GridCacheMapEntry.`initialValue(CacheObject val, GridCacheVersion ver, long ttl, long expireTime, boolean preload, AffinityTopologyVersion topVer, GridDrType drType)` Sets new value if current version is `0`
`GridCacheUpdateTxResult` | GridCacheEntryEx.`innerRemove(IgniteInternalTx tx, UUID evtNodeId, UUID affNodeId, boolean retval, boolean evt, boolean metrics, boolean keepPortable, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, GridCacheVersion explicitVer, UUID subjId, String taskName, GridCacheVersion dhtVer, Long updateCntr)`
`GridCacheUpdateTxResult` | GridCacheMapEntry.`innerRemove(IgniteInternalTx tx, UUID evtNodeId, UUID affNodeId, boolean retval, boolean evt, boolean metrics, boolean keepPortable, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, GridCacheVersion explicitVer, UUID subjId, String taskName, GridCacheVersion dhtVer, Long updateCntr)`

`GridCacheUpdateTxResult`

GridCacheEntryEx.`innerSet(IgniteInternalTx tx, UUID evtNodeId, UUID affNodeId, CacheObject val, boolean writeThrough, boolean retval, long ttl, boolean evt, boolean metrics, boolean keepPortable, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, long drExpireTime, GridCacheVersion explicitVer, UUID subjId, String taskName, GridCacheVersion dhtVer, Long updateCntr)`

`GridCacheUpdateTxResult`

GridCacheMapEntry.`innerSet(IgniteInternalTx tx, UUID evtNodeId, UUID affNodeId, CacheObject val, boolean writeThrough, boolean retval, long ttl, boolean evt, boolean metrics, boolean keepPortable, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, long drExpireTime, GridCacheVersion explicitVer, UUID subjId, String taskName, GridCacheVersion dhtVer, Long updateCntr)`

`GridCacheUpdateAtomicResult`

GridCacheEntryEx.`innerUpdate(GridCacheVersion ver, UUID evtNodeId, UUID affNodeId, GridCacheOperation op, Object val, Object[] invokeArgs, boolean writeThrough, boolean readThrough, boolean retval, boolean keepPortable, IgniteCacheExpiryPolicy expiryPlc, boolean evt, boolean metrics, boolean primary, boolean checkVer, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, long conflictTtl, long conflictExpireTime, GridCacheVersion conflictVer, boolean conflictResolve, boolean intercept, UUID subjId, String taskName, CacheObject prevVal, Long updateCntr)`

`GridCacheUpdateAtomicResult`

GridCacheMapEntry.`innerUpdate(GridCacheVersion newVer, UUID evtNodeId, UUID affNodeId, GridCacheOperation op, Object writeObj, Object[] invokeArgs, boolean writeThrough, boolean readThrough, boolean retval, boolean keepPortable, IgniteCacheExpiryPolicy expiryPlc, boolean evt, boolean metrics, boolean primary, boolean verCheck, AffinityTopologyVersion topVer, CacheEntryPredicate[] filter, GridDrType drType, long explicitTtl, long explicitExpireTime, GridCacheVersion conflictVer, boolean conflictResolve, boolean intercept, UUID subjId, String taskName, CacheObject prevVal, Long updateCntr)`

`GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>>`

GridCacheEntryEx.`innerUpdateLocal(GridCacheVersion ver, GridCacheOperation op, Object writeObj, Object[] invokeArgs, boolean writeThrough, boolean readThrough, boolean retval, boolean keepPortable, javax.cache.expiry.ExpiryPolicy expiryPlc, boolean evt, boolean metrics, CacheEntryPredicate[] filter, boolean intercept, UUID subjId, String taskName)`
Update method for local cache in atomic mode.

`GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>>`

GridCacheMapEntry.`innerUpdateLocal(GridCacheVersion ver, GridCacheOperation op, Object writeObj, Object[] invokeArgs, boolean writeThrough, boolean readThrough, boolean retval, boolean keepBinary, javax.cache.expiry.ExpiryPolicy expiryPlc, boolean evt, boolean metrics, CacheEntryPredicate[] filter, boolean intercept, UUID subjId, String taskName)`
Update method for local cache in atomic mode.

`boolean` | GridCacheEntryEx.`invalidate(GridCacheVersion curVer, GridCacheVersion newVer)` Invalidates this entry.
`boolean` | GridCacheMapEntry.`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 cacheCtx, GridCacheVersion ver)`
`List<GridCacheMvccCandidate>` | GridCacheMvcc.`localCandidates(boolean reentries, GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheMvcc.`localCandidates(GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheEntryEx.`localCandidates(GridCacheVersion... exclude)` Gets all local candidates.
`Collection<GridCacheMvccCandidate>` | GridCacheMapEntry.`localCandidates(GridCacheVersion... exclude)` Gets all local candidates.
`boolean` | GridCacheEntryEx.`lockedBy(GridCacheVersion ver)`
`boolean` | GridCacheMapEntry.`lockedBy(GridCacheVersion ver)`
`boolean` | GridCacheEntryEx.`lockedByAny(GridCacheVersion... exclude)`
`boolean` | GridCacheMapEntry.`lockedByAny(GridCacheVersion... exclude)`
`boolean` | GridCacheEntryEx.`lockedByThread(long threadId, GridCacheVersion exclude)`
`boolean` | GridCacheMapEntry.`lockedByThread(long threadId, GridCacheVersion exclude)`
`boolean` | GridCacheEntryEx.`lockedByUnsafe(GridCacheVersion ver)`
`boolean` | GridCacheMapEntry.`lockedByUnsafe(GridCacheVersion ver)`
`boolean` | GridCacheEntryEx.`lockedLocally(GridCacheVersion lockVer)`
`boolean` | GridCacheMapEntry.`lockedLocally(GridCacheVersion lockVer)`
`boolean` | GridCacheEntryEx.`lockedLocallyByIdOrThread(GridCacheVersion lockVer, long threadId)`
`boolean` | GridCacheMapEntry.`lockedLocallyByIdOrThread(GridCacheVersion lockVer, long threadId)`
`boolean` | GridCacheEntryEx.`lockedLocallyUnsafe(GridCacheVersion lockVer)`
`boolean` | GridCacheMapEntry.`lockedLocallyUnsafe(GridCacheVersion lockVer)`
`GridCacheVersion` | GridCacheMvccManager.`mappedVersion(GridCacheVersion from)`
`void` | GridCacheMvccManager.`mapVersion(GridCacheVersion from, GridCacheVersion to)`
`boolean` | GridCacheEntryEx.`markObsolete(GridCacheVersion ver)` Sets obsolete flag if possible.
`boolean` | GridCacheMapEntry.`markObsolete(GridCacheVersion ver)` Sets obsolete flag if possible.
`protected boolean` | GridCacheMapEntry.`markObsolete0(GridCacheVersion ver, boolean clear, GridCacheObsoleteEntryExtras extras)` Note that `GridCacheMapEntry.onMarkedObsolete()` should always be called after this method returns `true`.
`boolean` | GridCacheEntryEx.`markObsoleteIfEmpty(GridCacheVersion ver)` Sets obsolete flag if entry value is `null` or entry is expired and no locks are held.
`boolean` | GridCacheMapEntry.`markObsoleteIfEmpty(GridCacheVersion ver)` Sets obsolete flag if entry value is `null` or entry is expired and no locks are held.
`boolean` | GridCacheEntryEx.`markObsoleteVersion(GridCacheVersion ver)` Sets obsolete flag if entry version equals to `ver`.
`boolean` | GridCacheMapEntry.`markObsoleteVersion(GridCacheVersion ver)` Sets obsolete flag if entry version equals to `ver`.
`GridCacheMvccCandidate` | 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.
`GridCacheMvccFuture<?>` | GridCacheMvccManager.`mvccFuture(GridCacheVersion ver, IgniteUuid futId)` Gets future for given future ID and lock ID.
`boolean` | GridCacheEntryEx.`obsolete(GridCacheVersion exclude)`
`boolean` | GridCacheMapEntry.`obsolete(GridCacheVersion exclude)`
`protected void` | GridCacheMapEntry.`obsoleteVersionExtras(GridCacheVersion obsoleteVer, GridCacheObsoleteEntryExtras ext)`
`boolean` | GridCacheEntryEx.`offheapSwapEvict(byte[] entry, GridCacheVersion evictVer, GridCacheVersion obsoleteVer)` Tries to do offheap -> swap eviction.
`boolean` | GridCacheMapEntry.`offheapSwapEvict(byte[] entry, GridCacheVersion evictVer, GridCacheVersion obsoleteVer)` Tries to do offheap -> swap eviction.
`abstract void` | GridCacheAdapter.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`void` | GridCacheContext.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`boolean` | GridCacheEntryEx.`onTtlExpired(GridCacheVersion obsoleteVer)` Callback from ttl processor to cache entry indicating that entry is expired.
`boolean` | GridCacheMapEntry.`onTtlExpired(GridCacheVersion obsoleteVer)` Callback from ttl processor to cache entry indicating that entry is expired.
`GridCacheMvccCandidate` | 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.
`GridCacheMvccCandidate` | GridCacheMvcc.`readyLocal(GridCacheVersion ver)`
`GridCacheMvccCandidate` | 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>` | GridCacheMvcc.`remoteCandidates(GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheEntryEx.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.
`Collection<GridCacheMvccCandidate>` | GridCacheMapEntry.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.
`GridCacheMvccCandidate` | GridCacheMvcc.`remove(GridCacheVersion ver)` Removes lock even if it is not owner.
`IgniteInternalFuture<?>` | GridCacheMvccManager.`removeAtomicFuture(GridCacheVersion futVer)`
`GridCacheMvccCandidate` | GridCacheExplicitLockSpan.`removeCandidate(IgniteTxKey key, GridCacheVersion ver)` Removes lock by key and optional version.
`GridCacheMvccCandidate` | GridCacheMvccManager.`removeExplicitLock(long threadId, IgniteTxKey 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.
`boolean` | GridCacheEntryEx.`tmLock(IgniteInternalTx tx, long timeout, GridCacheVersion serOrder, GridCacheVersion serReadVer, boolean keepBinary)` This locks is called by transaction manager during prepare step for optimistic transactions.
`void` | IgniteCacheExpiryPolicy.`ttlUpdated(KeyCacheObject key, GridCacheVersion ver, Collection<UUID> rdrs)` Callback for ttl update on entry access.
`void` | GridCacheAdapter.CacheExpiryPolicy.`ttlUpdated(KeyCacheObject key, GridCacheVersion ver, Collection<UUID> rdrs)`
`GridCacheVersion` | GridCacheMvccManager.`unmapVersion(GridCacheVersion from)`
`protected void` | GridCacheMapEntry.`update(CacheObject val, long expireTime, long ttl, GridCacheVersion ver)`
`protected void` | GridCacheMapEntry.`updateIndex(CacheObject val, long expireTime, GridCacheVersion ver, CacheObject prevVal)` Updates cache index.
`void` | GridCacheEntryEx.`updateTtl(GridCacheVersion ver, long ttl)`
`void` | GridCacheMapEntry.`updateTtl(GridCacheVersion ver, long ttl)`
`CacheObject` | GridCacheEntryEx.`valueBytes(GridCacheVersion ver)` Gets cached serialized value bytes.
`CacheObject` | GridCacheMapEntry.`valueBytes(GridCacheVersion ver)` Gets cached serialized value bytes.
`void` | GridCacheEntryInfo.`version(GridCacheVersion ver)`
`GridCacheVersion` | GridCacheEntryEx.`versionedValue(CacheObject val, GridCacheVersion curVer, GridCacheVersion newVer)` Sets new value if passed in version matches the current version (used for read-through only).
`GridCacheVersion` | GridCacheMapEntry.`versionedValue(CacheObject 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.

Method parameters in org.apache.ignite.internal.processors.cache with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridCacheMvcc.`doneRemote(GridCacheVersion ver, Collection<GridCacheVersion> pending, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)` Sets remote candidate to done.
`GridCacheMvccCandidate` | GridCacheMvcc.`doneRemote(GridCacheVersion ver, Collection<GridCacheVersion> pending, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)` Sets remote candidate to done.
`GridCacheMvccCandidate` | GridCacheMvcc.`doneRemote(GridCacheVersion ver, Collection<GridCacheVersion> pending, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)` Sets remote candidate to done.
`GridCacheMvccCandidate` | GridCacheMvcc.`orderCompleted(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)` Moves completed candidates right before the base one.
`GridCacheMvccCandidate` | GridCacheMvcc.`orderCompleted(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)` Moves completed candidates right before the base one.
`GridCacheMvccCandidate` | 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` | 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` | 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` | GridCacheProxyImpl.`removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data.
`void` | IgniteInternalCache.`removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data.
`void` | GridCacheAdapter.`removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data.
`IgniteInternalFuture<?>` | GridCacheProxyImpl.`removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data asynchronously.
`IgniteInternalFuture<?>` | IgniteInternalCache.`removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data asynchronously.
`IgniteInternalFuture<?>` | GridCacheAdapter.`removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data asynchronously.

Constructors in org.apache.ignite.internal.processors.cache with parameters of type GridCacheVersion
Constructor and Description
`CacheEntryImpl(K key, V val, GridCacheVersion ver)`
`CacheEntryImplEx(K key, V val, GridCacheVersion ver)`
`CacheEvictionEntry(KeyCacheObject key, GridCacheVersion ver, boolean near)`
`CacheInvokeEntry(GridCacheContext<K,V> ctx, KeyCacheObject keyObj, K key, CacheObject valObj, V val, GridCacheVersion ver, boolean keepPortable)`
`CacheInvokeEntry(GridCacheContext cctx, KeyCacheObject keyObj, CacheObject valObj, GridCacheVersion ver, boolean keepPortable)`
`GridCacheBatchSwapEntry(KeyCacheObject key, int part, ByteBuffer valBytes, byte type, 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, boolean readers)` Constructor.
`GridCacheLockTimeoutException(GridCacheVersion ver)`
`GridCacheMvccCandidate(GridCacheEntryEx 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, GridCacheVersion serOrder)`
`GridCacheSwapEntryImpl(ByteBuffer valBytes, byte type, GridCacheVersion ver, long ttl, long expireTime, IgniteUuid keyClsLdrId, IgniteUuid valClsLdrId)`
`GridCacheUpdateAtomicResult(boolean success, CacheObject oldVal, CacheObject newVal, IgniteBiTuple<Object,Exception> res, long newTtl, long conflictExpireTime, GridCacheVersion rmvVer, GridCacheVersionConflictContext<?,?> conflictRes, boolean sndToDht, long updateCntr)` Constructor.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed

Fields in org.apache.ignite.internal.processors.cache.distributed declared as GridCacheVersion
Modifier and Type | Field and Description
--- | ---
`protected GridCacheVersion` | GridDistributedBaseMessage.`ver` Lock or transaction version.

Methods in org.apache.ignite.internal.processors.cache.distributed that return GridCacheVersion
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` | GridCacheTxRecoveryRequest.`nearXidVersion()`
`GridCacheVersion` | GridDistributedLockRequest.`nearXidVersion()`
`GridCacheVersion` | GridCacheCommittedTxInfo.`originatingTxId()`
`GridCacheVersion` | GridDistributedBaseMessage.`version()`
`GridCacheVersion` | GridCacheTtlUpdateRequest.`version(int idx)`
`GridCacheVersion` | GridDistributedTxPrepareRequest.`writeVersion()`
`GridCacheVersion` | GridDistributedTxFinishResponse.`xid()`

Methods in org.apache.ignite.internal.processors.cache.distributed that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`Collection<GridCacheVersion>` | GridDistributedTxRemoteAdapter.`alternateVersions()`
`Collection<GridCacheVersion>` | GridDistributedBaseMessage.`committedVersions()`
`Map<IgniteTxKey,GridCacheVersion>` | GridDistributedTxPrepareRequest.`dhtVersions()`
`List<GridCacheVersion>` | GridCacheTtlUpdateRequest.`nearVersions()`
`Collection<GridCacheVersion>` | GridDistributedBaseMessage.`rolledbackVersions()`
`List<GridCacheVersion>` | GridCacheTtlUpdateRequest.`versions()`

Methods in org.apache.ignite.internal.processors.cache.distributed with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridDistributedTxPrepareRequest.`addDhtVersion(IgniteTxKey key, GridCacheVersion dhtVer)` Adds version to be verified on remote node.
`void` | GridCacheTtlUpdateRequest.`addEntry(KeyCacheObject key, GridCacheVersion ver)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`addLocal(long threadId, GridCacheVersion ver, AffinityTopologyVersion topVer, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`void` | GridCacheTtlUpdateRequest.`addNearEntry(KeyCacheObject key, 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, GridCacheVersion writeVer)`
`void` | GridDistributedTxRemoteAdapter.`doneRemote(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`doneRemote(GridCacheVersion lockVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, boolean sysInvalidate)`
`GridCacheMvccCandidate` | 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` | GridDistributedCacheEntry.`readyLock(GridCacheVersion ver)`
`GridCacheMvccCandidate` | 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>` | GridDistributedCacheEntry.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.
`boolean` | GridDistributedCacheEntry.`removeLock(GridCacheVersion ver)`
`void` | GridDistributedCacheAdapter.`removeVersionedEntry(KeyCacheObject key, GridCacheVersion ver)`
`boolean` | GridDistributedCacheEntry.`tmLock(IgniteInternalTx tx, long timeout, GridCacheVersion serOrder, GridCacheVersion serReadVer, boolean keepBinary)` This locks is called by transaction manager during prepare step for optimistic transactions.
`void` | GridDistributedBaseMessage.`version(GridCacheVersion ver)`

Method parameters in org.apache.ignite.internal.processors.cache.distributed with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridDistributedBaseMessage.`completedVersions(Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | GridDistributedBaseMessage.`completedVersions(Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | GridDistributedTxRemoteAdapter.`doneRemote(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers)`
`void` | GridDistributedTxRemoteAdapter.`doneRemote(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers)`
`void` | GridDistributedTxRemoteAdapter.`doneRemote(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`doneRemote(GridCacheVersion lockVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, boolean sysInvalidate)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`doneRemote(GridCacheVersion lockVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, boolean sysInvalidate)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`doneRemote(GridCacheVersion lockVer, GridCacheVersion baseVer, Collection<GridCacheVersion> pendingVers, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, boolean sysInvalidate)`
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`doneRemote(GridCacheVersion lockVer, GridCacheVersion baseVer, Collection<GridCacheVersion> pendingVers, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, boolean sysInvalidate)`
`GridCacheMvccCandidate` | 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.
`void` | GridDistributedCacheEntry.`orderCompleted(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)` Reorders completed versions.
`GridCacheMvccCandidate` | 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.
`GridCacheMvccCandidate` | 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.
`GridCacheMvccCandidate` | 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.
`void` | GridDistributedLockResponse.`setCandidates(Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | GridDistributedLockResponse.`setCandidates(Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`

Constructors in org.apache.ignite.internal.processors.cache.distributed with parameters of type GridCacheVersion
Constructor and Description
`GridCacheTxRecoveryResponse(GridCacheVersion txId, IgniteUuid futId, IgniteUuid miniId, boolean success, boolean addDepInfo)`
`GridDistributedBaseMessage(GridCacheVersion ver, int cnt, boolean addDepInfo)`
`GridDistributedLockRequest(int cacheId, UUID nodeId, GridCacheVersion nearXidVer, long threadId, IgniteUuid futId, GridCacheVersion lockVer, boolean isInTx, boolean isRead, TransactionIsolation isolation, boolean isInvalidate, long timeout, int keyCnt, int txSize, boolean skipStore, boolean keepBinary, boolean addDepInfo)`
`GridDistributedLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, int cnt, boolean addDepInfo)`
`GridDistributedLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, int cnt, Throwable err, boolean addDepInfo)`
`GridDistributedLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, Throwable err, boolean addDepInfo)`
`GridDistributedTxFinishRequest(GridCacheVersion xidVer, IgniteUuid futId, GridCacheVersion commitVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, boolean addDepInfo)`
`GridDistributedTxFinishResponse(GridCacheVersion txId, IgniteUuid futId)`
`GridDistributedTxPrepareResponse(GridCacheVersion xid, boolean addDepInfo)`
`GridDistributedTxPrepareResponse(GridCacheVersion xid, Throwable err, boolean addDepInfo)`
`GridDistributedTxRemoteAdapter(GridCacheSharedContext<?,?> ctx, UUID nodeId, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, UUID subjId, int taskNameHash)`

Constructor parameters in org.apache.ignite.internal.processors.cache.distributed with type arguments of type GridCacheVersion
Constructor and Description
`GridDistributedTxFinishRequest(GridCacheVersion xidVer, IgniteUuid futId, GridCacheVersion commitVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, boolean addDepInfo)`
`GridDistributedTxFinishRequest(GridCacheVersion xidVer, IgniteUuid futId, GridCacheVersion commitVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, boolean addDepInfo)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed.dht

Methods in org.apache.ignite.internal.processors.cache.distributed.dht that return GridCacheVersion
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` | GridDhtTxRemote.`nearXidVersion()`
`GridCacheVersion` | GridDhtTxPrepareRequest.`nearXidVersion()`
`GridCacheVersion` | GridDhtTxLocal.`nearXidVersion()`
`GridCacheVersion` | GridDhtLockRequest.`owned(KeyCacheObject key)`
`GridCacheVersion` | GridDhtTxPrepareFuture.`version()`
`GridCacheVersion` | GridDhtGetFuture.`version()`
`GridCacheVersion` | GridDhtLockFuture.`version()`
`GridCacheVersion` | GridDhtTxFinishRequest.`writeVersion()`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`Map<IgniteTxKey,GridCacheVersion>` | GridDhtTxPrepareRequest.`owned()`
`Collection<GridCacheVersion>` | GridDhtTxFinishRequest.`pendingVersions()` Gets versions of not acquired locks with version less then one of transaction being committed.
`Collection<GridCacheVersion>` | GridDhtTxLocalAdapter.`pendingVersions()`
`IgniteBiTuple<GridCacheVersion,CacheObject>` | GridDhtCacheEntry.`versionedValue(AffinityTopologyVersion topVer)`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridDhtCacheEntry.`addDhtLocal(UUID nearNodeId, GridCacheVersion nearVer, AffinityTopologyVersion topVer, long threadId, GridCacheVersion ver, GridCacheVersion serOrder, GridCacheVersion serReadVer, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`boolean` | GridDhtCacheEntry.`clearInternal(GridCacheVersion ver, boolean swap, GridCacheObsoleteEntryExtras extras)` Marks entry as obsolete and, if possible or required, removes it from swap storage.
`GridCacheMvccCandidate` | GridDhtCacheEntry.`localCandidateByNearVersion(GridCacheVersion nearVer, boolean rmv)`
`GridCacheMvccCandidate` | GridDhtCacheEntry.`mappings(GridCacheVersion ver, Collection<ClusterNode> dhtNodeIds, Collection<ClusterNode> nearNodeIds)` Sets mappings into entry.
`void` | GridDhtCacheAdapter.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`void` | GridDhtLocalPartition.`onDeferredDelete(KeyCacheObject key, GridCacheVersion ver)`
`void` | GridDhtLocalPartition.`onEntryEvicted(KeyCacheObject key, GridCacheVersion ver)`
`void` | GridDhtTxPrepareRequest.`owned(IgniteTxKey key, GridCacheVersion ownerMapped)` Sets owner and its mapped version.
`void` | GridDhtLockRequest.`owned(KeyCacheObject key, GridCacheVersion ownerMapped)` Sets owner and its mapped version.
`boolean` | GridDhtLocalPartition.`preloadingPermitted(KeyCacheObject 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<KeyCacheObject> keys, boolean unmap)`
`void` | GridDhtCacheEntry.`removeMapping(GridCacheVersion ver, ClusterNode mappedNode)`
`boolean` | GridDhtCacheEntry.`tmLock(IgniteInternalTx tx, long timeout, GridCacheVersion serOrder, GridCacheVersion serReadVer, boolean keepBinary)` This locks is called by transaction manager during prepare step for optimistic transactions.
`protected void` | CacheDistributedGetFutureAdapter.`versionedResult(Map map, KeyCacheObject key, Object val, GridCacheVersion ver)`
`void` | GridDhtTxFinishRequest.`writeVersion(GridCacheVersion writeVer)`

Method parameters in org.apache.ignite.internal.processors.cache.distributed.dht with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridDhtTxLocalAdapter.`pendingVersions(Collection<GridCacheVersion> pendingVers)`
`IgniteInternalFuture<GridNearTxPrepareResponse>` | GridDhtTxLocal.`prepareAsync(Collection<IgniteTxEntry> reads, Collection<IgniteTxEntry> writes, Map<IgniteTxKey,GridCacheVersion> verMap, long msgId, IgniteUuid nearMiniId, Map<UUID,Collection<UUID>> txNodes, boolean last)` Prepares next batch of entries in dht transaction.

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type GridCacheVersion
Constructor and Description
`GridDhtLockFuture(GridCacheContext<?,?> cctx, UUID nearNodeId, GridCacheVersion nearLockVer, AffinityTopologyVersion topVer, int cnt, boolean read, boolean needReturnVal, long timeout, GridDhtTxLocalAdapter tx, long threadId, long accessTtl, CacheEntryPredicate[] filter, boolean skipStore, boolean keepBinary)`

`GridDhtLockRequest(int cacheId, UUID nodeId, GridCacheVersion nearXidVer, long threadId, IgniteUuid futId, IgniteUuid miniId, GridCacheVersion lockVer, AffinityTopologyVersion topVer, boolean isInTx, boolean isRead, TransactionIsolation isolation, boolean isInvalidate, long timeout, int dhtCnt, int nearCnt, int txSize, UUID subjId, int taskNameHash, long accessTtl, boolean skipStore, boolean keepBinary, boolean addDepInfo)`

`GridDhtLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, IgniteUuid miniId, int cnt, boolean addDepInfo)`
`GridDhtLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, IgniteUuid miniId, Throwable err, boolean addDepInfo)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs)`

`GridDhtTxFinishResponse(GridCacheVersion xid, IgniteUuid futId, IgniteUuid miniId)`

`GridDhtTxLocal(GridCacheSharedContext cctx, UUID nearNodeId, GridCacheVersion nearXidVer, IgniteUuid nearFutId, IgniteUuid nearMiniId, long nearThreadId, boolean implicit, boolean implicitSingle, boolean sys, boolean explicitLock, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, boolean onePhaseCommit, int txSize, Map<UUID,Collection<UUID>> txNodes, UUID subjId, int taskNameHash)`

`GridDhtTxLocalAdapter(GridCacheSharedContext cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean sys, boolean explicitLock, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, boolean onePhaseCommit, int txSize, UUID subjId, int taskNameHash)`
`GridDhtTxPrepareRequest(IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridDhtTxLocalAdapter tx, Collection<IgniteTxEntry> dhtWrites, Collection<IgniteTxEntry> nearWrites, Map<UUID,Collection<UUID>> txNodes, GridCacheVersion nearXidVer, boolean last, boolean onePhaseCommit, UUID subjId, int taskNameHash, boolean addDepInfo)`
`GridDhtTxPrepareResponse(GridCacheVersion xid, IgniteUuid futId, IgniteUuid miniId, boolean addDepInfo)`
`GridDhtTxPrepareResponse(GridCacheVersion xid, IgniteUuid futId, IgniteUuid miniId, Throwable err, boolean addDepInfo)`

`GridDhtTxRemote(GridCacheSharedContext ctx, UUID nearNodeId, IgniteUuid rmtFutId, UUID nodeId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, GridCacheVersion nearXidVer, Map<UUID,Collection<UUID>> txNodes, UUID subjId, int taskNameHash, boolean single)`
This constructor is meant for optimistic transactions.

`GridDhtTxRemote(GridCacheSharedContext ctx, UUID nearNodeId, IgniteUuid rmtFutId, UUID nodeId, GridCacheVersion nearXidVer, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, UUID subjId, int taskNameHash)`
This constructor is meant for pessimistic transactions.

Constructor parameters in org.apache.ignite.internal.processors.cache.distributed.dht with type arguments of type GridCacheVersion
Constructor and Description

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs)`

`GridDhtTxFinishRequest(UUID nearNodeId, IgniteUuid futId, IgniteUuid miniId, AffinityTopologyVersion topVer, GridCacheVersion xidVer, GridCacheVersion commitVer, long threadId, TransactionIsolation isolation, boolean commit, boolean invalidate, boolean sys, byte plc, boolean sysInvalidate, boolean syncCommit, boolean syncRollback, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo, Collection<Long> updateIdxs)`

`GridDhtTxPrepareFuture(GridCacheSharedContext cctx, GridDhtTxLocalAdapter tx, IgniteUuid nearMiniId, Map<IgniteTxKey,GridCacheVersion> dhtVerMap, boolean last, boolean retVal)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed.dht.atomic

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.atomic that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridDhtAtomicUpdateRequest.`conflictVersion(int idx)`
`GridCacheVersion` | GridNearAtomicUpdateRequest.`conflictVersion(int idx)`
`GridCacheVersion` | GridDhtAtomicUpdateRequest.`futureVersion()`
`GridCacheVersion` | GridNearAtomicUpdateResponse.`futureVersion()`
`GridCacheVersion` | GridDhtAtomicUpdateResponse.`futureVersion()`
`GridCacheVersion` | GridNearAtomicUpdateRequest.`futureVersion()`
`GridCacheVersion` | GridNearAtomicUpdateResponse.`nearVersion()`
`GridCacheVersion` | GridNearAtomicUpdateRequest.`updateVersion()`
`GridCacheVersion` | GridNearAtomicUpdateFuture.`version()`
`GridCacheVersion` | GridDhtAtomicUpdateFuture.`version()`
`GridCacheVersion` | GridDhtAtomicUpdateRequest.`writeVersion()`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.atomic that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`List<GridCacheVersion>` | GridNearAtomicUpdateRequest.`conflictVersions()`
`Collection<GridCacheVersion>` | GridDhtAtomicDeferredUpdateResponse.`futureVersions()`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.atomic with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridNearAtomicUpdateRequest.`addUpdateEntry(KeyCacheObject key, Object val, long conflictTtl, long conflictExpireTime, GridCacheVersion conflictVer, boolean primary)`
`void` | GridDhtAtomicUpdateFuture.`addWriteEntry(GridDhtCacheEntry entry, CacheObject val, javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor, long ttl, long conflictExpireTime, GridCacheVersion conflictVer, boolean addPrevVal, CacheObject prevVal, Long updateCntr)`
`void` | GridDhtAtomicUpdateRequest.`addWriteValue(KeyCacheObject key, CacheObject val, javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor, long ttl, long conflictExpireTime, GridCacheVersion conflictVer, boolean addPrevVal, int partId, CacheObject prevVal, Long updateIdx)`
`void` | GridNearAtomicUpdateResponse.`nearVersion(GridCacheVersion nearVer)`

Method parameters in org.apache.ignite.internal.processors.cache.distributed.dht.atomic with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridDhtAtomicCache.`removeAllConflict(Map<KeyCacheObject,GridCacheVersion> conflictMap)` Removes DR data.
`IgniteInternalFuture<?>` | GridDhtAtomicCache.`removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> conflictMap)` Removes DR data asynchronously.

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht.atomic with parameters of type GridCacheVersion
Constructor and Description
`GridDhtAtomicUpdateFuture(GridCacheContext cctx, CI2<GridNearAtomicUpdateRequest,GridNearAtomicUpdateResponse> completionCb, GridCacheVersion writeVer, GridNearAtomicUpdateRequest updateReq, GridNearAtomicUpdateResponse updateRes)`
`GridDhtAtomicUpdateRequest(int cacheId, UUID nodeId, GridCacheVersion futVer, GridCacheVersion writeVer, CacheWriteSynchronizationMode syncMode, AffinityTopologyVersion topVer, boolean forceTransformBackups, UUID subjId, int taskNameHash, Object[] invokeArgs, boolean addDepInfo, boolean keepBinary)` Constructor.
`GridDhtAtomicUpdateResponse(int cacheId, GridCacheVersion futVer, boolean addDepInfo)`

`GridNearAtomicUpdateRequest(int cacheId, UUID nodeId, GridCacheVersion futVer, boolean fastMap, GridCacheVersion updateVer, AffinityTopologyVersion topVer, boolean topLocked, CacheWriteSynchronizationMode syncMode, GridCacheOperation op, boolean retval, javax.cache.expiry.ExpiryPolicy expiryPlc, Object[] invokeArgs, CacheEntryPredicate[] filter, UUID subjId, int taskNameHash, boolean skipStore, boolean keepBinary, boolean clientReq, boolean addDepInfo)`
Constructor.

`GridNearAtomicUpdateResponse(int cacheId, UUID nodeId, GridCacheVersion futVer, boolean addDepInfo)`

Constructor parameters in org.apache.ignite.internal.processors.cache.distributed.dht.atomic with type arguments of type GridCacheVersion
Constructor and Description
`GridDhtAtomicDeferredUpdateResponse(int cacheId, Collection<GridCacheVersion> futVers, boolean addDepInfo)` Constructor.

`GridNearAtomicUpdateFuture(GridCacheContext cctx, GridDhtAtomicCache cache, CacheWriteSynchronizationMode syncMode, GridCacheOperation op, Collection<?> keys, Collection<?> vals, Object[] invokeArgs, Collection<GridCacheDrInfo> conflictPutVals, Collection<GridCacheVersion> conflictRmvVals, boolean retval, boolean rawRetval, javax.cache.expiry.ExpiryPolicy expiryPlc, CacheEntryPredicate[] filter, UUID subjId, int taskNameHash, boolean skipStore, boolean keepBinary, int remapCnt, boolean waitTopFut)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed.dht.colocated

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.colocated that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridDhtColocatedLockFuture.`version()`

Methods in org.apache.ignite.internal.processors.cache.distributed.dht.colocated with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`boolean` | GridDhtDetachedCacheEntry.`addRemoved(GridCacheVersion ver)`
`void` | GridDhtColocatedCache.`removeLocks(long threadId, GridCacheVersion ver, Collection<KeyCacheObject> keys)` Removes locks regardless of whether they are owned or not for given version and keys.
`void` | GridDhtDetachedCacheEntry.`resetFromPrimary(CacheObject val, GridCacheVersion ver)` Sets value to detached entry so it can be retrieved in transactional gets.
`protected void` | GridDhtDetachedCacheEntry.`updateIndex(CacheObject val, long expireTime, GridCacheVersion ver, CacheObject old)` Updates cache index.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed.dht.preloader

Constructors in org.apache.ignite.internal.processors.cache.distributed.dht.preloader with parameters of type GridCacheVersion
Constructor and Description
`GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id, GridCacheVersion lastVer, AffinityTopologyVersion topVer)`
`GridDhtPartitionsSingleMessage(GridDhtPartitionExchangeId exchId, boolean client, GridCacheVersion lastVer)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.distributed.near

Methods in org.apache.ignite.internal.processors.cache.distributed.near that return GridCacheVersion
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` | GridNearTxRemote.`nearXidVersion()`
`GridCacheVersion` | GridNearTxLocal.`nearXidVersion()`
`GridCacheVersion` | GridNearTxRemote.`ownedVersion(IgniteTxKey key)` Gets owned version for near remote transaction.
`GridCacheVersion` | GridNearGetResponse.`version()`
`GridCacheVersion` | CacheVersionedValue.`version()`
`GridCacheVersion` | GridNearGetRequest.`version()`
`GridCacheVersion` | GridNearTxPrepareFutureAdapter.`version()`
`GridCacheVersion` | GridNearLockFuture.`version()`
`GridCacheVersion` | GridNearTxPrepareResponse.`writeVersion()`

Methods in org.apache.ignite.internal.processors.cache.distributed.near that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`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()`.
`IgniteBiTuple<GridCacheVersion,CacheObject>` | GridNearCacheEntry.`versionedValue()`

Methods in org.apache.ignite.internal.processors.cache.distributed.near with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`boolean` | GridNearTxRemote.`addEntry(GridCacheContext cacheCtx, IgniteTxKey key, GridCacheOperation op, CacheObject val, GridCacheVersion drVer, boolean skipStore, boolean keepBinary)`
`void` | GridNearLockRequest.`addKeyBytes(KeyCacheObject key, boolean retVal, GridCacheVersion dhtVer, GridCacheContext ctx)` Adds a key.
`GridCacheMvccCandidate` | GridNearCacheEntry.`addLocal(long threadId, GridCacheVersion ver, AffinityTopologyVersion topVer, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`GridCacheMvccCandidate` | GridNearCacheEntry.`addNearLocal(UUID dhtNodeId, long threadId, GridCacheVersion ver, AffinityTopologyVersion topVer, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add near local candidate.
`void` | GridNearTxPrepareResponse.`addOwnedValue(IgniteTxKey key, GridCacheVersion ver, CacheObject val)` Adds owned value.
`void` | GridNearLockResponse.`addValueBytes(CacheObject val, boolean filterPassed, GridCacheVersion dhtVer, GridCacheVersion mappedVer)`
`GridCacheMvccCandidate` | GridNearCacheEntry.`dhtNodeId(GridCacheVersion ver, UUID dhtNodeId)`
`protected boolean` | GridNearTransactionalCache.`evictNearEntry(GridCacheEntryEx e, GridCacheVersion obsoleteVer, AffinityTopologyVersion topVer)`
`boolean` | GridNearCacheEntry.`loadedValue(IgniteInternalTx tx, UUID primaryNodeId, CacheObject val, GridCacheVersion ver, GridCacheVersion dhtVer, long ttl, long expireTime, boolean evt, boolean keepBinary, AffinityTopologyVersion topVer, UUID subjId)`
`void` | GridNearTransactionalCache.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`void` | GridNearAtomicCache.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`boolean` | GridNearCacheEntry.`recordDhtVersion(GridCacheVersion dhtVer)`
`void` | GridNearTransactionalCache.`removeLocks(GridCacheVersion ver, Collection<KeyCacheObject> keys)` Removes locks regardless of whether they are owned or not for given version and keys.
`boolean` | GridNearCacheEntry.`resetFromPrimary(CacheObject val, GridCacheVersion ver, GridCacheVersion dhtVer, UUID primaryNodeId, AffinityTopologyVersion topVer)` This method should be called only when lock is owned on this entry.
`protected void` | GridNearCacheEntry.`updateIndex(CacheObject val, long expireTime, GridCacheVersion ver, CacheObject old)` Updates cache index.
`void` | GridNearCacheEntry.`updateOrEvict(GridCacheVersion dhtVer, CacheObject val, long expireTime, long ttl, UUID primaryNodeId, AffinityTopologyVersion topVer)` This method should be called only when lock is owned on this entry.

Method parameters in org.apache.ignite.internal.processors.cache.distributed.near with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`IgniteInternalFuture<Void>` | GridNearTxLocal.`loadMissing(GridCacheContext cacheCtx, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean skipVals, boolean needVer, boolean keepBinary, GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c)`
`void` | GridNearTxRemote.`ownedVersions(Map<IgniteTxKey,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.`removeAllConflict(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data.
`IgniteInternalFuture<?>` | GridNearAtomicCache.`removeAllConflictAsync(Map<KeyCacheObject,GridCacheVersion> drMap)` Removes DR data asynchronously.

Constructors in org.apache.ignite.internal.processors.cache.distributed.near with parameters of type GridCacheVersion
Constructor and Description
`CacheVersionedValue(CacheObject val, GridCacheVersion ver)`
`GridNearCacheClearAllRunnable(GridCacheAdapter<K,V> cache, GridCacheVersion obsoleteVer, GridCacheClearAllRunnable<K,V> dhtJob)` Constructor.
`GridNearGetRequest(int cacheId, IgniteUuid futId, IgniteUuid miniId, GridCacheVersion ver, Map<KeyCacheObject,Boolean> keys, boolean readThrough, AffinityTopologyVersion topVer, UUID subjId, int taskNameHash, long accessTtl, boolean skipVals, boolean addDepInfo)`
`GridNearGetResponse(int cacheId, IgniteUuid futId, IgniteUuid miniId, GridCacheVersion ver, boolean addDepInfo)`

`GridNearLockRequest(int cacheId, AffinityTopologyVersion topVer, UUID nodeId, long threadId, IgniteUuid futId, GridCacheVersion lockVer, boolean isInTx, boolean implicitTx, boolean implicitSingleTx, boolean isRead, boolean retVal, TransactionIsolation isolation, boolean isInvalidate, long timeout, int keyCnt, int txSize, boolean syncCommit, UUID subjId, int taskNameHash, long accessTtl, boolean skipStore, boolean keepBinary, boolean firstClientReq, boolean addDepInfo)`

`GridNearLockResponse(int cacheId, GridCacheVersion lockVer, IgniteUuid futId, IgniteUuid miniId, boolean filterRes, int cnt, Throwable err, AffinityTopologyVersion clientRemapVer, boolean addDepInfo)`

`GridNearTxFinishRequest(IgniteUuid futId, GridCacheVersion xidVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, boolean explicitLock, boolean storeEnabled, AffinityTopologyVersion topVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridNearTxFinishResponse(GridCacheVersion xid, long nearThreadId, IgniteUuid futId, IgniteUuid miniId, Throwable err)`
`GridNearTxPrepareResponse(GridCacheVersion xid, IgniteUuid futId, IgniteUuid miniId, GridCacheVersion dhtVer, GridCacheVersion writeVer, GridCacheReturn retVal, Throwable err, AffinityTopologyVersion clientRemapVer, boolean addDepInfo)`

`GridNearTxRemote(GridCacheSharedContext ctx, ClassLoader ldr, UUID nodeId, UUID nearNodeId, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, Collection<IgniteTxEntry> writeEntries, int txSize, UUID subjId, int taskNameHash)`
This constructor is meant for optimistic transactions.

`GridNearTxRemote(GridCacheSharedContext ctx, UUID nodeId, UUID nearNodeId, GridCacheVersion nearXidVer, GridCacheVersion xidVer, GridCacheVersion commitVer, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, boolean invalidate, long timeout, int txSize, UUID subjId, int taskNameHash)` This constructor is meant for pessimistic transactions.

Constructor parameters in org.apache.ignite.internal.processors.cache.distributed.near with type arguments of type GridCacheVersion
Constructor and Description

`GridNearTxFinishRequest(IgniteUuid futId, GridCacheVersion xidVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, boolean explicitLock, boolean storeEnabled, AffinityTopologyVersion topVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

`GridNearTxFinishRequest(IgniteUuid futId, GridCacheVersion xidVer, long threadId, boolean commit, boolean invalidate, boolean sys, byte plc, boolean syncCommit, boolean syncRollback, boolean explicitLock, boolean storeEnabled, AffinityTopologyVersion topVer, GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, int txSize, UUID subjId, int taskNameHash, boolean addDepInfo)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.dr

Methods in org.apache.ignite.internal.processors.cache.dr that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridCacheDrInfo.`version()`

Methods in org.apache.ignite.internal.processors.cache.dr with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridCacheDrManager.`replicate(KeyCacheObject key, CacheObject val, long ttl, long expireTime, GridCacheVersion ver, GridDrType drType)` Performs replication.
`void` | GridOsCacheDrManager.`replicate(KeyCacheObject key, CacheObject val, long ttl, long expireTime, GridCacheVersion ver, GridDrType drType)` Performs replication.

Constructors in org.apache.ignite.internal.processors.cache.dr with parameters of type GridCacheVersion
Constructor and Description
`GridCacheDrExpirationInfo(CacheObject val, GridCacheVersion ver, long ttl, long expireTime)` Constructor.
`GridCacheDrInfo(CacheObject val, GridCacheVersion ver)` Constructor.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.extras

Methods in org.apache.ignite.internal.processors.cache.extras that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridCacheEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheAttributesMvccObsoleteTtlEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheAttributesObsoleteEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheObsoleteTtlEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheAttributesObsoleteTtlEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheObsoleteEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheMvccObsoleteEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheAttributesMvccObsoleteEntryExtras.`obsoleteVersion()`
`GridCacheVersion` | GridCacheEntryExtrasAdapter.`obsoleteVersion()`
`GridCacheVersion` | GridCacheMvccObsoleteTtlEntryExtras.`obsoleteVersion()`

Methods in org.apache.ignite.internal.processors.cache.extras with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheEntryExtras` | GridCacheAttributesMvccTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesMvccEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesMvccObsoleteTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesObsoleteEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheObsoleteTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesObsoleteTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheObsoleteEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheMvccObsoleteEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesMvccObsoleteEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheAttributesEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheMvccEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheMvccTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`
`GridCacheEntryExtras` | GridCacheMvccObsoleteTtlEntryExtras.`obsoleteVersion(GridCacheVersion obsoleteVer)`

Constructors in org.apache.ignite.internal.processors.cache.extras with parameters of type GridCacheVersion
Constructor and Description
`GridCacheAttributesMvccObsoleteEntryExtras(GridCacheMvcc mvcc, GridCacheVersion obsoleteVer)` Constructor.
`GridCacheAttributesMvccObsoleteTtlEntryExtras(GridCacheMvcc mvcc, GridCacheVersion obsoleteVer, long ttl, long expireTime)` Constructor.
`GridCacheAttributesObsoleteEntryExtras(GridCacheVersion obsoleteVer)` Constructor.
`GridCacheAttributesObsoleteTtlEntryExtras(GridCacheVersion obsoleteVer, long ttl, long expireTime)` Constructor.
`GridCacheMvccObsoleteEntryExtras(GridCacheMvcc mvcc, GridCacheVersion obsoleteVer)` Constructor.
`GridCacheMvccObsoleteTtlEntryExtras(GridCacheMvcc mvcc, GridCacheVersion obsoleteVer, long ttl, long expireTime)` Constructor.
`GridCacheObsoleteEntryExtras(GridCacheVersion obsoleteVer)` Constructor.
`GridCacheObsoleteTtlEntryExtras(GridCacheVersion obsoleteVer, long ttl, long expireTime)` Constructor.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.local

Methods in org.apache.ignite.internal.processors.cache.local that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridLocalLockFuture.`version()`

Methods in org.apache.ignite.internal.processors.cache.local with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridLocalCacheEntry.`addLocal(long threadId, GridCacheVersion ver, GridCacheVersion serOrder, GridCacheVersion serReadVer, long timeout, boolean reenter, boolean tx, boolean implicitSingle, boolean keepBinary)` Add local candidate.
`void` | GridLocalCache.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`
`GridCacheMvccCandidate` | GridLocalCacheEntry.`readyLocal(GridCacheVersion ver)`
`boolean` | GridLocalCacheEntry.`removeLock(GridCacheVersion ver)`
`boolean` | GridLocalCacheEntry.`tmLock(IgniteInternalTx tx, long timeout, GridCacheVersion serOrder, GridCacheVersion serReadVer, boolean keepBinary)` This locks is called by transaction manager during prepare step for optimistic transactions.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.local.atomic

Methods in org.apache.ignite.internal.processors.cache.local.atomic with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridLocalAtomicCache.`onDeferredDelete(GridCacheEntryEx entry, GridCacheVersion ver)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.query

Methods in org.apache.ignite.internal.processors.cache.query with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | GridCacheQueryManager.`store(CacheObject key, CacheObject val, GridCacheVersion ver, long expirationTime)` Writes key-value pair to index.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.store

Methods in org.apache.ignite.internal.processors.cache.store with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`boolean` | CacheStoreManager.`put(IgniteInternalTx tx, Object key, Object val, GridCacheVersion ver)` Puts key-value pair into storage.
`boolean` | GridCacheStoreManagerAdapter.`put(IgniteInternalTx tx, Object key, Object val, GridCacheVersion ver)` Puts key-value pair into storage.

Method parameters in org.apache.ignite.internal.processors.cache.store with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`boolean` | CacheStoreManager.`loadCache(GridInClosure3<KeyCacheObject,Object,GridCacheVersion> vis, Object[] args)` Loads data from persistent store.
`void` | CacheStoreManager.`localStoreLoadAll(IgniteInternalTx tx, Collection<? extends KeyCacheObject> keys, GridInClosure3<KeyCacheObject,Object,GridCacheVersion> vis)`
`boolean` | CacheStoreManager.`putAll(IgniteInternalTx tx, Map<Object,IgniteBiTuple<Object,GridCacheVersion>> map)` Puts key-value pair into storage.

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.transactions

Fields in org.apache.ignite.internal.processors.cache.transactions declared as GridCacheVersion
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).
`static GridCacheVersion` | IgniteTxEntry.`SER_READ_EMPTY_ENTRY_VER` Dummy version for non-existing entry read in SERIALIZABLE transaction.
`static GridCacheVersion` | IgniteTxEntry.`SER_READ_NOT_EMPTY_VER` Dummy version for any existing entry read in SERIALIZABLE 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.

Methods in org.apache.ignite.internal.processors.cache.transactions that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | IgniteInternalTx.`commitVersion()`
`GridCacheVersion` | IgniteTxAdapter.`commitVersion()`
`GridCacheVersion` | IgniteTxLocalAdapter.`completedBase()`
`GridCacheVersion` | IgniteTxEntry.`conflictVersion()`
`GridCacheVersion` | IgniteTxEntry.`dhtVersion()`
`GridCacheVersion` | IgniteInternalTx.`endVersion()`
`GridCacheVersion` | IgniteTxAdapter.`endVersion()`
`GridCacheVersion` | IgniteTxEntry.`explicitVersion()`
`GridCacheVersion` | IgniteTxManager.`mappedVersion(GridCacheVersion from)`
`GridCacheVersion` | IgniteTxLocalAdapter.`minVersion()` Gets minimum version present in transaction.
`GridCacheVersion` | IgniteTxLocalEx.`minVersion()`
`GridCacheVersion` | IgniteTxManager.`nearVersion(GridCacheVersion dhtVer)` Reverse mapped version look up.
`GridCacheVersion` | IgniteInternalTx.`nearXidVersion()`
`GridCacheVersion` | IgniteTxAdapter.`nearXidVersion()`
`GridCacheVersion` | IgniteInternalTx.`ownedVersion(IgniteTxKey key)` Gets owned version for near remote transaction.
`GridCacheVersion` | IgniteTxAdapter.`ownedVersion(IgniteTxKey key)` Gets owned version for near remote transaction.
`GridCacheVersion` | IgniteTxEntry.`serializableReadVersion()`
`GridCacheVersion` | IgniteInternalTx.`startVersion()`
`GridCacheVersion` | IgniteTxAdapter.`startVersion()`
`GridCacheVersion` | IgniteTxManager.`txContextVersion()` Gets version of transaction in tx context or `null` if tx context is empty.
`GridCacheVersion` | IgniteInternalTx.`writeVersion()`
`GridCacheVersion` | IgniteTxAdapter.`writeVersion()`
`GridCacheVersion` | IgniteInternalTx.`xidVersion()`
`GridCacheVersion` | IgniteTxAdapter.`xidVersion()`

Methods in org.apache.ignite.internal.processors.cache.transactions that return types with arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`Collection<GridCacheVersion>` | IgniteTxLocalAdapter.`alternateVersions()`
`Collection<GridCacheVersion>` | IgniteInternalTx.`alternateVersions()`
`Collection<GridCacheVersion>` | IgniteTxLocalAdapter.`committedVersions()`
`Collection<GridCacheVersion>` | IgniteTxLocalAdapter.`rolledbackVersions()`
`IgnitePair<Collection<GridCacheVersion>>` | IgniteTxManager.`versions(GridCacheVersion min)`

Methods in org.apache.ignite.internal.processors.cache.transactions with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | IgniteTxManager.`addAlternateVersion(GridCacheVersion ver, IgniteInternalTx tx)`
`boolean` | IgniteTxManager.`addCommittedTx(IgniteInternalTx tx, GridCacheVersion xidVer, GridCacheVersion nearXidVer)`
`protected IgniteTxEntry` | IgniteTxLocalAdapter.`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, boolean skipStore, boolean keepBinary)`
`boolean` | IgniteTxManager.`addRolledbackTx(IgniteInternalTx tx, GridCacheVersion xidVer)`
`void` | IgniteInternalTx.`commitVersion(GridCacheVersion commitVer)`
`void` | IgniteTxAdapter.`commitVersion(GridCacheVersion commitVer)`
`void` | IgniteTxLocalAdapter.`completedVersions(GridCacheVersion completedBase, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | IgniteInternalTx.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)`
`void` | IgniteTxAdapter.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> txs)`
`protected IgniteBiTuple<GridCacheOperation,GridCacheVersionConflictContext>` | IgniteTxAdapter.`conflictResolve(GridCacheOperation op, IgniteTxEntry txEntry, CacheObject newVal, GridCacheVersion newVer, GridCacheEntryEx old)` Resolve DR conflict.
`void` | IgniteTxEntry.`conflictVersion(GridCacheVersion conflictVer)`
`void` | IgniteTxEntry.`dhtVersion(GridCacheVersion dhtVer)`
`void` | IgniteTxRemoteEx.`doneRemote(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers, Collection<GridCacheVersion> pendingVers)`
`void` | IgniteInternalTx.`endVersion(GridCacheVersion endVer)`
`void` | IgniteTxAdapter.`endVersion(GridCacheVersion endVer)`
`void` | IgniteTxEntry.`explicitVersion(GridCacheVersion explicitVer)`
`GridCacheVersion` | IgniteTxManager.`mappedVersion(GridCacheVersion from)`
`<T extends IgniteInternalTx> T` | IgniteTxManager.`nearTx(GridCacheVersion txId)`
`GridCacheVersion` | IgniteTxManager.`nearVersion(GridCacheVersion dhtVer)` Reverse mapped version look up.
`void` | IgniteTxEntry.`serializableReadVersion(GridCacheVersion serReadVer)`
`<T extends IgniteInternalTx> T` | IgniteTxManager.`tx(GridCacheVersion txId)`
`IgniteInternalFuture<Boolean>` | IgniteTxManager.`txCommitted(GridCacheVersion xidVer)`
`IgniteInternalFuture<Boolean>` | IgniteTxManager.`txsPreparedOrCommitted(GridCacheVersion nearVer, int txNum)` Checks if transactions with given near version ID was prepared or committed.
`IgnitePair<Collection<GridCacheVersion>>` | IgniteTxManager.`versions(GridCacheVersion min)`
`void` | IgniteInternalTx.`writeVersion(GridCacheVersion ver)` Sets write version.
`void` | IgniteTxAdapter.`writeVersion(GridCacheVersion writeVer)` Sets write version.

Method parameters in org.apache.ignite.internal.processors.cache.transactions with type arguments of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`void` | IgniteTxLocalAdapter.`completedVersions(GridCacheVersion completedBase, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | IgniteTxLocalAdapter.`completedVersions(GridCacheVersion completedBase, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`
`void` | IgniteInternalTx.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)`
`void` | IgniteInternalTx.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)`
`void` | IgniteTxAdapter.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> txs)`
`void` | IgniteTxAdapter.`completedVersions(GridCacheVersion base, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> txs)`
`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)`
`IgniteInternalFuture<Void>` | IgniteTxLocalAdapter.`loadMissing(GridCacheContext cacheCtx, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean skipVals, boolean needVer, boolean keepBinary, GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c)`
`IgniteInternalFuture<Void>` | IgniteTxLocalEx.`loadMissing(GridCacheContext cacheCtx, boolean readThrough, boolean async, Collection<KeyCacheObject> keys, boolean skipVals, boolean needVer, boolean keepBinary, GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c)`
`IgniteInternalFuture<?>` | IgniteTxLocalAdapter.`removeAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheVersion> drMap)`
`IgniteInternalFuture<?>` | IgniteTxLocalEx.`removeAllDrAsync(GridCacheContext cacheCtx, Map<KeyCacheObject,GridCacheVersion> drMap)`

Constructors in org.apache.ignite.internal.processors.cache.transactions with parameters of type GridCacheVersion
Constructor and Description
`IgniteTxAdapter(GridCacheSharedContext<?,?> cctx, GridCacheVersion xidVer, boolean implicit, boolean loc, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, boolean onePhaseCommit, int txSize, UUID subjId, int taskNameHash)`
`IgniteTxAdapter(GridCacheSharedContext<?,?> cctx, UUID nodeId, GridCacheVersion xidVer, GridCacheVersion startVer, long threadId, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, int txSize, UUID subjId, int taskNameHash)`
`IgniteTxEntry(GridCacheContext<?,?> ctx, IgniteInternalTx tx, GridCacheOperation op, CacheObject val, javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor, Object[] invokeArgs, long ttl, GridCacheEntryEx entry, CacheEntryPredicate[] filters, GridCacheVersion conflictVer, boolean skipStore, boolean keepBinary)` This constructor is meant for local transactions.
`IgniteTxEntry(GridCacheContext<?,?> ctx, IgniteInternalTx tx, GridCacheOperation op, CacheObject val, long ttl, long conflictExpireTime, GridCacheEntryEx entry, GridCacheVersion conflictVer, boolean skipStore, boolean keepBinary)` This constructor is meant for remote transactions.
`IgniteTxLocalAdapter(GridCacheSharedContext cctx, GridCacheVersion xidVer, boolean implicit, boolean implicitSingle, boolean sys, byte plc, TransactionConcurrency concurrency, TransactionIsolation isolation, long timeout, boolean invalidate, boolean storeEnabled, boolean onePhaseCommit, int txSize, UUID subjId, int taskNameHash)`

### Uses of GridCacheVersion in org.apache.ignite.internal.processors.cache.version

Subclasses of GridCacheVersion in org.apache.ignite.internal.processors.cache.version
Modifier and Type | Class and Description
--- | ---
`class` | `GridCacheVersionEx` Extended cache version which also has additional DR version.

Methods in org.apache.ignite.internal.processors.cache.version that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`GridCacheVersion` | GridCacheVersionEx.`conflictVersion()`
`GridCacheVersion` | GridCacheVersion.`conflictVersion()`
`GridCacheVersion` | GridCacheVersionManager.`isolatedStreamerVersion()` Version for entries loaded with isolated streamer, should be less than any version generated for entries update.
`GridCacheVersion` | GridCacheVersionManager.`last()` Gets last generated version without generating a new one.
`GridCacheVersion` | GridCacheVersionManager.`next()`
`GridCacheVersion` | GridCacheVersionManager.`next(AffinityTopologyVersion topVer)` Gets next version based on given topology version.
`GridCacheVersion` | GridCacheVersionManager.`next(GridCacheVersion ver)` Gets next version based on given cache version.
`GridCacheVersion` | GridCacheVersionManager.`nextForLoad()` Gets next version for cache store load and reload operations.
`GridCacheVersion` | GridCacheVersionManager.`nextForLoad(AffinityTopologyVersion topVer)` 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.`onReceivedAndNext(UUID nodeId, GridCacheVersion ver)`
`GridCacheVersion` | GridCacheRawVersionedEntry.`version()`
`GridCacheVersion` | GridCachePlainVersionedEntry.`version()`
`GridCacheVersion` | GridCacheVersionAware.`version()` Gets version.
`GridCacheVersion` | GridCacheVersionable.`version()`

Methods in org.apache.ignite.internal.processors.cache.version with parameters of type GridCacheVersion
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)`

Constructors in org.apache.ignite.internal.processors.cache.version with parameters of type GridCacheVersion
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(byte[] keyBytes, byte[] valBytes, long ttl, long expireTime, GridCacheVersion ver)` Constructor used in receiver hub where marshalled key and value are available and we do not want to unmarshal value.
`GridCacheRawVersionedEntry(KeyCacheObject key, CacheObject val, long ttl, long expireTime, GridCacheVersion ver)` Constructor used for local store load when key and value are available.
`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.

### Uses of GridCacheVersion in org.apache.ignite.internal.util

Methods in org.apache.ignite.internal.util that return GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`static GridCacheVersion` | IgniteUtils.`readVersion(byte[] arr, long off, boolean verEx)`
`static GridCacheVersion` | IgniteUtils.`readVersion(long ptr, boolean verEx)`

Methods in org.apache.ignite.internal.util with parameters of type GridCacheVersion
Modifier and Type | Method and Description
--- | ---
`static long` | IgniteUtils.`writeVersion(byte[] arr, long off, GridCacheVersion ver)`

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.5.0-b1
Release Date | : December 1 2015