| 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 |
GridCacheEntryEx.candidate(GridCacheVersion ver)
Gets lock candidate for given lock ID.
|
GridCacheMvccCandidate |
GridCacheMvcc.candidate(GridCacheVersion ver)
Gets candidate for lock ID.
|
GridCacheMvccCandidate |
GridCacheMapEntry.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 |
GridCacheEntryEx.candidate(UUID nodeId,
long threadId) |
GridCacheMvccCandidate |
GridCacheMapEntry.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 |
GridCacheEntryEx.localCandidate(long threadId) |
GridCacheMvccCandidate |
GridCacheMvcc.localCandidate(long threadId)
Gets candidate for lock ID.
|
GridCacheMvccCandidate |
GridCacheMapEntry.localCandidate(long threadId) |
GridCacheMvccCandidate |
GridCacheMvcc.localCandidate(UUID nodeId,
long threadId)
Near local candidate.
|
GridCacheMvccCandidate |
GridCacheEntryEx.localOwner() |
GridCacheMvccCandidate |
GridCacheMvcc.localOwner() |
GridCacheMvccCandidate |
GridCacheMapEntry.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() |
| 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> |
GridCacheEntryEx.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
Collection<GridCacheMvccCandidate> |
GridCacheMvcc.localCandidates(GridCacheVersion... excludeVers) |
Collection<GridCacheMvccCandidate> |
GridCacheMapEntry.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> |
GridCacheEntryEx.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
Collection<GridCacheMvccCandidate> |
GridCacheMapEntry.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridCacheExplicitLockSpan.addCandidate(GridDiscoveryTopologySnapshot topSnapshot,
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,
GridDiscoveryTopologySnapshot snapshot)
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) |
| Constructor and Description |
|---|
GridCacheExplicitLockSpan(GridDiscoveryTopologySnapshot topSnapshot,
GridCacheMvccCandidate cand) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheMvccCandidate> |
GridDistributedBaseMessage.candidatesByIndex(int idx) |
Map<KeyCacheObject,Collection<GridCacheMvccCandidate>> |
GridDistributedBaseMessage.candidatesByKey() |
Collection<GridCacheMvccCandidate> |
GridDistributedBaseMessage.candidatesByKey(KeyCacheObject key) |
Collection<GridCacheMvccCandidate> |
GridDistributedTxPrepareResponse.candidatesForKey(KeyCacheObject key) |
Collection<GridCacheMvccCandidate> |
GridDistributedCacheEntry.remoteMvccSnapshot(GridCacheVersion... exclude)
Gets all remote versions.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridDistributedLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
Collection<GridCacheMvccCandidate> cands,
GridCacheContext ctx)
Adds a key.
|
void |
GridDistributedTxPrepareResponse.candidates(Map<KeyCacheObject,Collection<GridCacheMvccCandidate>> cands) |
void |
GridDistributedBaseMessage.candidatesByIndex(int idx,
Collection<GridCacheMvccCandidate> candsByIdx) |
void |
GridDistributedBaseMessage.candidatesByKey(KeyCacheObject key,
Collection<GridCacheMvccCandidate> candsByKey) |
void |
GridDistributedLockResponse.setCandidates(int idx,
Collection<GridCacheMvccCandidate> cands,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridDhtCacheEntry.addDhtLocal(UUID nearNodeId,
GridCacheVersion nearVer,
long 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)
Sets mappings into entry.
|
GridCacheMvccCandidate |
GridDhtCacheEntry.removeLock()
Unlocks local lock.
|
| 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) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridNearTxPrepareFuture.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.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridLocalLockFuture.onOwnerChanged(GridCacheEntryEx entry,
GridCacheMvccCandidate owner) |
GridCacheMvccCandidate |
GridLocalCacheEntry.readyLocal(GridCacheMvccCandidate cand) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
IgniteTxManager.onOwnerChanged(GridCacheEntryEx entry,
GridCacheMvccCandidate owner)
Callback invoked whenever a member of a transaction acquires
lock ownership.
|
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 |
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.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015