All Methods Instance Methods Concrete Methods
| Modifier and Type |
Method and Description |
Collection<GridCacheExplicitLockSpan> |
activeExplicitLocks() |
Collection<GridCacheFuture<?>> |
activeFutures() |
boolean |
addAtomicFuture(long futId,
GridCacheAtomicFuture<?> fut) |
GridFutureAdapter |
addDataStreamerFuture(AffinityTopologyVersion topVer) |
void |
addExplicitLock(long threadId,
GridCacheMvccCandidate cand,
AffinityTopologyVersion topVer)
Adds candidate to the list of near local candidates.
|
boolean |
addFuture(GridCacheFuture<?> fut,
IgniteUuid futId) |
boolean |
addFuture(GridCacheVersionedFuture<?> fut)
/**
Adds future.
|
boolean |
addNext(GridCacheContext cacheCtx,
GridCacheMvccCandidate cand) |
boolean |
addRemoved(GridCacheContext cacheCtx,
GridCacheVersion ver) |
@Nullable IgniteInternalFuture<?> |
atomicFuture(long futId)
Gets future by given future ID.
|
Collection<GridCacheAtomicFuture<?>> |
atomicFutures() |
int |
atomicFuturesCount() |
GridCacheLockCallback |
callback() |
void |
contextReset()
Reset MVCC context.
|
Collection<org.apache.ignite.internal.processors.cache.GridCacheMvccManager.DataStreamerFuture> |
dataStreamerFutures() |
@Nullable GridCacheMvccCandidate |
explicitLock(IgniteTxKey key,
@Nullable GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
@Nullable GridCacheMvccCandidate |
explicitLock(long threadId,
IgniteTxKey key)
Gets last added explicit lock candidate by thread id and key.
|
IgniteInternalFuture<?> |
finishAtomicUpdates(AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
finishDataStreamerUpdates(AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
finishExplicitLocks(AffinityTopologyVersion topVer)
Creates a future that will wait for all explicit locks acquired on given topology
version to be released.
|
IgniteInternalFuture<?> |
finishKeys(Collection<KeyCacheObject> keys,
int cacheId,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
finishLocks(AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
finishRemoteTxs(AffinityTopologyVersion topVer)
Creates a future that will wait for finishing all remote transactions (primary -> backup)
with topology version less or equal to topVer.
|
@Nullable GridCacheFuture |
future(IgniteUuid futId) |
@Nullable Collection<GridCacheVersionedFuture<?>> |
futuresForVersion(GridCacheVersion ver)
Gets futures for given lock ID.
|
boolean |
isLockedByThread(IgniteTxKey key,
long threadId)
Checks if given key is locked by thread with given id or any thread.
|
boolean |
isRemoved(GridCacheContext cacheCtx,
GridCacheVersion ver) |
@Nullable AffinityTopologyVersion |
lastExplicitLockTopologyVersion(long threadId) |
Collection<GridCacheMvccCandidate> |
localCandidates()
This method has poor performance, so use with care.
|
Collection<IgniteTxKey> |
lockedKeys() |
GridCacheVersion |
mappedVersion(GridCacheVersion from) |
void |
mapVersion(GridCacheVersion from,
GridCacheVersion to) |
void |
markExplicitOwner(IgniteTxKey key,
long threadId)
Marks candidates for given thread and given key as owned.
|
Collection<IgniteTxKey> |
nearLockedKeys() |
long |
nextAtomicId() |
void |
onDisconnected(IgniteFuture reconnectFut) |
void |
onKernalStop0(boolean cancel) |
void |
onStop()
Cancels all client futures.
|
void |
printMemoryStats()
Prints memory statistics (sizes of internal data structures, etc.).
|
void |
recheckPendingLocks() |
Collection<GridCacheMvccCandidate> |
remoteCandidates()
This method has poor performance, so use with care.
|
@Nullable IgniteInternalFuture<?> |
removeAtomicFuture(long futId) |
void |
removeExplicitLock(GridCacheMvccCandidate cand)
Removes candidate from the list of near local candidates.
|
GridCacheMvccCandidate |
removeExplicitLock(long threadId,
IgniteTxKey key,
@Nullable GridCacheVersion ver)
Removes explicit lock for given thread id, key and optional version.
|
void |
removeExplicitNodeLocks(UUID leftNodeId) |
void |
removeFuture(IgniteUuid futId) |
boolean |
removeVersionedFuture(GridCacheVersionedFuture<?> fut) |
protected void |
start0() |
Map<IgniteTxKey,Collection<GridCacheMvccCandidate>> |
unfinishedLocks(AffinityTopologyVersion topVer) |
GridCacheVersion |
unmapVersion(GridCacheVersion from) |
@Nullable GridCacheVersionedFuture<?> |
versionedFuture(GridCacheVersion ver,
IgniteUuid futId)
Gets future for given future ID and lock ID.
|