## Uses of Class
org.apache.ignite.internal.processors.cache.GridCacheMvccCandidate

Packages that use GridCacheMvccCandidate
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.near |
org.apache.ignite.internal.processors.cache.local |
org.apache.ignite.internal.processors.cache.transactions |

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

Methods in org.apache.ignite.internal.processors.cache that return GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`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, 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).
`GridCacheMvccCandidate` | GridCacheMvcc.`anyOwner()`
`GridCacheMvccCandidate` | GridCacheMapEntry.`candidate(GridCacheVersion ver)` Gets lock candidate for given lock ID.
`GridCacheMvccCandidate` | GridCacheMvcc.`candidate(GridCacheVersion ver)` Gets candidate for lock ID.
`GridCacheMvccCandidate` | GridCacheEntryEx.`candidate(GridCacheVersion ver)` Gets lock candidate for given lock ID.
`GridCacheMvccCandidate` | GridCacheExplicitLockSpan.`candidate(KeyCacheObject key, GridCacheVersion ver)` Gets explicit lock candidate for given key.
`GridCacheMvccCandidate` | GridCacheMapEntry.`candidate(UUID nodeId, long threadId)`
`GridCacheMvccCandidate` | GridCacheEntryEx.`candidate(UUID nodeId, long threadId)`
`GridCacheMvccCandidate` | GridCacheMvcc.`doneRemote(GridCacheVersion ver, Collection<GridCacheVersion> pending, Collection<GridCacheVersion> committed, Collection<GridCacheVersion> rolledback)` Sets remote candidate to done.
`GridCacheMvccCandidate` | GridCacheMvccManager.`explicitLock(KeyCacheObject key, GridCacheVersion ver)` Gets explicit lock candidate added by any thread by given key and lock version.
`GridCacheMvccCandidate` | GridCacheMvccManager.`explicitLock(long threadId, KeyCacheObject key)` Gets last added explicit lock candidate by thread id and key.
`GridCacheMvccCandidate` | GridCacheMvcc.`firstLocal()`
`GridCacheMvccCandidate` | GridCacheMvcc.`firstRemote()`
`GridCacheMvccCandidate` | GridCacheMapEntry.`localCandidate(long threadId)`
`GridCacheMvccCandidate` | GridCacheMvcc.`localCandidate(long threadId)` Gets candidate for lock ID.
`GridCacheMvccCandidate` | GridCacheEntryEx.`localCandidate(long threadId)`
`GridCacheMvccCandidate` | GridCacheMvcc.`localCandidate(UUID nodeId, long threadId)` Near local candidate.
`GridCacheMvccCandidate` | GridCacheMapEntry.`localOwner()`
`GridCacheMvccCandidate` | GridCacheMvcc.`localOwner()`
`GridCacheMvccCandidate` | GridCacheEntryEx.`localOwner()`
`GridCacheMvccCandidate` | GridCacheMvcc.`markOwned(GridCacheVersion baseVer, GridCacheVersion owned)` Puts owned versions in front of base.
`GridCacheMvccCandidate` | GridCacheMvccCandidate.`next()`
`GridCacheMvccCandidate` | GridCacheMvcc.`orderCompleted(GridCacheVersion baseVer, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)` Moves completed candidates right before the base one.
`GridCacheMvccCandidate` | GridCacheMvccCandidate.`previous()`
`GridCacheMvccCandidate` | GridCacheMvcc.`readyLocal(GridCacheMvccCandidate cand)`
`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.
`GridCacheMvccCandidate` | GridCacheMvcc.`recheck()` Checks if lock should be assigned.
`GridCacheMvccCandidate` | GridCacheMvccCandidate.`reenter()`
`GridCacheMvccCandidate` | GridCacheMvcc.`releaseLocal()` Local local release.
`GridCacheMvccCandidate` | GridCacheMvcc.`releaseLocal(long threadId)` Local release.
`GridCacheMvccCandidate` | GridCacheMvcc.`remoteCandidate(UUID nodeId, long threadId)`
`GridCacheMvccCandidate` | GridCacheMvcc.`remoteOwner()`
`GridCacheMvccCandidate` | GridCacheMvcc.`remove(GridCacheVersion ver)` Removes lock even if it is not owner.
`GridCacheMvccCandidate` | GridCacheExplicitLockSpan.`removeCandidate(KeyCacheObject key, GridCacheVersion ver)` Removes lock by key and optional version.
`GridCacheMvccCandidate` | GridCacheMvccManager.`removeExplicitLock(long threadId, KeyCacheObject key, GridCacheVersion ver)` Removes explicit lock for given thread id, key and optional version.
`GridCacheMvccCandidate` | GridCacheMvcc.`removeExplicitNodeCandidates(UUID nodeId)` Removes all candidates for node.
`GridCacheMvccCandidate` | GridCacheMvccCandidate.`unenter()`

Methods in org.apache.ignite.internal.processors.cache that return types with arguments of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`Collection<GridCacheMvccCandidate>` | GridCacheMvccManager.`localCandidates()` This method has poor performance, so use with care.
`List<GridCacheMvccCandidate>` | GridCacheMvcc.`localCandidates(boolean reentries, GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheMapEntry.`localCandidates(GridCacheVersion... exclude)` Gets all local candidates.
`Collection<GridCacheMvccCandidate>` | GridCacheMvcc.`localCandidates(GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheEntryEx.`localCandidates(GridCacheVersion... exclude)` Gets all local candidates.
`List<GridCacheMvccCandidate>` | GridCacheMvcc.`localCandidatesNoCopy(boolean reentry)`
`Collection<GridCacheMvccCandidate>` | GridCacheMvccManager.`remoteCandidates()` This method has poor performance, so use with care.
`List<GridCacheMvccCandidate>` | GridCacheMvcc.`remoteCandidates(GridCacheVersion... excludeVers)`
`Collection<GridCacheMvccCandidate>` | GridCacheMapEntry.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.
`Collection<GridCacheMvccCandidate>` | GridCacheEntryEx.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.
`Map<IgniteTxKey,Collection<GridCacheMvccCandidate>>` | GridCacheMvccManager.`unfinishedLocks(AffinityTopologyVersion topVer)`

Methods in org.apache.ignite.internal.processors.cache with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`boolean` | GridCacheExplicitLockSpan.`addCandidate(AffinityTopologyVersion topVer, GridCacheMvccCandidate cand)` Adds candidate to a lock span.
`void` | GridCacheEventManager.`addEvent(int part, KeyCacheObject key, IgniteInternalTx tx, GridCacheMvccCandidate owner, int type, CacheObject newVal, boolean hasNewVal, CacheObject oldVal, boolean hasOldVal, UUID subjId, String cloClsName, String taskName)`
`void` | GridCacheEventManager.`addEvent(int part, KeyCacheObject key, UUID evtNodeId, GridCacheMvccCandidate owner, int type, CacheObject newVal, boolean hasNewVal, CacheObject oldVal, boolean hasOldVal, UUID subjId, String cloClsName, String taskName)`
`void` | GridCacheEventManager.`addEvent(int part, KeyCacheObject key, UUID nodeId, IgniteInternalTx tx, GridCacheMvccCandidate owner, int type, CacheObject newVal, boolean hasNewVal, CacheObject oldVal, boolean hasOldVal, UUID subjId, String cloClsName, String taskName)`
`void` | GridCacheMvccManager.`addExplicitLock(long threadId, GridCacheMvccCandidate cand, AffinityTopologyVersion topVer)` Adds candidate to the list of near local candidates.
`boolean` | GridCacheMvccManager.`addLocal(GridCacheMvccCandidate cand)`
`boolean` | GridCacheMvccManager.`addNext(GridCacheContext cacheCtx, GridCacheMvccCandidate cand)`
`void` | GridCacheMvcc.`addRemote(GridCacheMvccCandidate cand)`
`int` | GridCacheMvccCandidate.`compareTo(GridCacheMvccCandidate o)`
`void` | GridCacheMvccCandidate.`next(GridCacheMvccCandidate next)`
`boolean` | GridCacheMvccFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)`
`void` | GridCacheMvccCallback.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate prev, GridCacheMvccCandidate owner)` Called when entry lock ownership changes.
`void` | GridCacheMvccCandidate.`previous(GridCacheMvccCandidate prev)`
`GridCacheMvccCandidate` | GridCacheMvcc.`readyLocal(GridCacheMvccCandidate cand)`
`boolean` | GridCacheExplicitLockSpan.`removeCandidate(GridCacheMvccCandidate cand)` Removes candidate from this lock span.
`void` | GridCacheMvccManager.`removeExplicitLock(GridCacheMvccCandidate cand)` Removes candidate from the list of near local candidates.
`boolean` | GridCacheMvccManager.`removeLocal(GridCacheMvccCandidate cand)`

Constructors in org.apache.ignite.internal.processors.cache with parameters of type GridCacheMvccCandidate
Constructor and Description
`GridCacheExplicitLockSpan(AffinityTopologyVersion topVer, GridCacheMvccCandidate cand)`

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

Methods in org.apache.ignite.internal.processors.cache.distributed that return GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`addLocal(long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`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.`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.
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`recheck()` Rechecks if lock should be reassigned.
`GridCacheMvccCandidate` | GridDistributedCacheEntry.`removeLock()` Unlocks local lock.

Methods in org.apache.ignite.internal.processors.cache.distributed that return types with arguments of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`Collection<GridCacheMvccCandidate>` | GridDistributedBaseMessage.`candidatesByIndex(int idx)`
`Collection<GridCacheMvccCandidate>` | GridDistributedCacheEntry.`remoteMvccSnapshot(GridCacheVersion... exclude)` Gets all remote versions.

Methods in org.apache.ignite.internal.processors.cache.distributed with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`void` | GridDistributedCacheEntry.`addRemote(GridCacheMvccCandidate cand)` Adds new lock candidate.
`protected void` | GridDistributedCacheEntry.`checkOwnerChanged(GridCacheMvccCandidate prev, GridCacheMvccCandidate owner, CacheObject val)`
`protected void` | GridDistributedCacheEntry.`checkThreadChain(GridCacheMvccCandidate owner)`
`boolean` | GridDistributedTxRemoteAdapter.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback invoked whenever there is a lock that has been acquired by this transaction for any of the participating entries.

Method parameters in org.apache.ignite.internal.processors.cache.distributed with type arguments of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`void` | GridDistributedLockRequest.`addKeyBytes(KeyCacheObject key, boolean retVal, Collection<GridCacheMvccCandidate> cands, GridCacheContext ctx)` Adds a key.
`void` | GridDistributedBaseMessage.`candidatesByIndex(int idx, Collection<GridCacheMvccCandidate> candsByIdx)`
`void` | GridDistributedLockResponse.`setCandidates(int idx, Collection<GridCacheMvccCandidate> cands, Collection<GridCacheVersion> committedVers, Collection<GridCacheVersion> rolledbackVers)`

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

Methods in org.apache.ignite.internal.processors.cache.distributed.dht that return GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridDhtCacheEntry.`addDhtLocal(UUID nearNodeId, GridCacheVersion nearVer, AffinityTopologyVersion topVer, long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`GridCacheMvccCandidate` | GridDhtLockFuture.`addEntry(GridDhtCacheEntry entry)` Adds entry to future.
`GridCacheMvccCandidate` | GridDhtCacheEntry.`localCandidateByNearVersion(GridCacheVersion nearVer, boolean rmv)`
`GridCacheMvccCandidate` | GridDhtCacheEntry.`mappings(GridCacheVersion ver, Collection<ClusterNode> dhtNodeIds, Collection<ClusterNode> nearNodeIds)` Sets mappings into entry.
`GridCacheMvccCandidate` | GridDhtCacheEntry.`removeLock()` Unlocks local lock.

Methods in org.apache.ignite.internal.processors.cache.distributed.dht with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`boolean` | GridDhtLockFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback for whenever entry lock ownership changes.
`boolean` | GridDhtTxPrepareFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)`

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

Methods in org.apache.ignite.internal.processors.cache.distributed.near that return GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridNearCacheEntry.`addLocal(long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`GridCacheMvccCandidate` | GridNearCacheEntry.`addNearLocal(UUID dhtNodeId, long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add near local candidate.
`GridCacheMvccCandidate` | GridNearCacheEntry.`dhtNodeId(GridCacheVersion ver, UUID dhtNodeId)`
`GridCacheMvccCandidate` | GridNearCacheEntry.`removeLock()` Unlocks local lock.

Methods in org.apache.ignite.internal.processors.cache.distributed.near with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`boolean` | GridNearOptimisticTxPrepareFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)`
`boolean` | GridNearLockFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback for whenever entry lock ownership changes.
`boolean` | GridNearTxLocal.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback invoked whenever there is a lock that has been acquired by this transaction for any of the participating entries.

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

Methods in org.apache.ignite.internal.processors.cache.local that return GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`GridCacheMvccCandidate` | GridLocalCacheEntry.`addLocal(long threadId, GridCacheVersion ver, long timeout, boolean reenter, boolean tx, boolean implicitSingle)` Add local candidate.
`GridCacheMvccCandidate` | GridLocalCacheEntry.`readyLocal(GridCacheMvccCandidate cand)`
`GridCacheMvccCandidate` | GridLocalCacheEntry.`readyLocal(GridCacheVersion ver)`
`GridCacheMvccCandidate` | GridLocalCacheEntry.`recheck()` Rechecks if lock should be reassigned.

Methods in org.apache.ignite.internal.processors.cache.local with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`boolean` | GridLocalLockFuture.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)`
`GridCacheMvccCandidate` | GridLocalCacheEntry.`readyLocal(GridCacheMvccCandidate cand)`

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

Methods in org.apache.ignite.internal.processors.cache.transactions with parameters of type GridCacheMvccCandidate
Modifier and Type | Method and Description
--- | ---
`boolean` | IgniteInternalTx.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback invoked whenever there is a lock that has been acquired by this transaction for any of the participating entries.
`boolean` | IgniteTxLocalAdapter.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback invoked whenever there is a lock that has been acquired by this transaction for any of the participating entries.
`boolean` | IgniteTxManager.`onOwnerChanged(GridCacheEntryEx entry, GridCacheMvccCandidate owner)` Callback invoked whenever a member of a transaction acquires lock ownership.

2015 Copyright © Apache Software Foundation

Follow @ApacheIgnite

Ignite Fabric | : ver. 1.2.0-incubating
Release Date | : June 16 2015