public class GridLocalCacheEntry extends GridCacheMapEntry
GridMetadataAwareAdapter.EntryKeyATOMIC_VER_COMPARATOR, cctx, flags, key, log, logRef, val, ver| Modifier and Type | Method and Description |
|---|---|
protected void |
checkThreadChain(GridCacheMvccCandidate owner) |
boolean |
isLocal() |
boolean |
recheck(GridCacheVersion ver)
Rechecks if lock should be reassigned.
|
boolean |
removeLock(GridCacheVersion ver) |
boolean |
tmLock(IgniteInternalTx tx,
long timeout,
@Nullable GridCacheVersion serOrder,
GridCacheVersion serReadVer,
boolean read)
This locks is called by transaction manager during prepare step
for optimistic transactions.
|
String |
toString() |
allVersionsInfo, candidate, candidate, checkObsolete, checkOwnerChanged, checkOwnerChanged, checkSerializableReadVersion, clear, clearReader, clearReaders, clearReserveForLoad, context, decrementMapPublicSize, deleted, deletedUnlocked, deletedUnlocked, detached, equals, evictInternal, evictionDisabled, expireTime, expireTimeExtras, expireTimeUnlocked, hashCode, hasLockCandidate, hasLockCandidate, hasLockCandidateUnsafe, hasReaders, hasValue, hasValueUnlocked, incrementMapPublicSize, info, initialValue, innerGet, innerGetAndReserveForLoad, innerGetVersioned, innerReload, innerRemove, innerSet, innerUpdate, innerUpdateLocal, invalidate, isDht, isInternal, isMvcc, isNear, isNew, isNewLocked, isReplicated, isStartVersion, key, keyValue, localCandidate, localCandidates, localOwner, localPartition, lockedBy, lockedByAny, lockedByCurrentThread, lockedByThread, lockedByThread, lockedByThread, lockedByThreadUnsafe, lockedByUnsafe, lockedLocally, lockedLocallyByIdOrThread, lockedLocallyUnsafe, lockEntry, logMvccUpdate, logTxUpdate, logUpdate, markObsolete, markObsolete0, markObsoleteIfEmpty, markObsoleteVersion, memorySize, mvccAllLocal, mvccExtras, mvccExtras, mvccLock, mvccPeek, mvccPreloadEntry, mvccRemove, mvccSet, mvccUpdateRowsWithPreloadInfo, nextPartitionCounter, nextPartitionCounter, obsolete, obsolete, obsoleteOrDeleted, obsoleteVersion, obsoleteVersionExtras, onInvalidate, onMarkedObsolete, onTtlExpired, onUnlock, onUpdateFinished, partition, partitionValid, peek, peek, peekVisibleValue, rawExpireTime, rawGet, rawPut, rawTtl, readThrough, recordNodeId, remoteMvccSnapshot, removeValue, storeValue, storeValue, touch, ttl, ttlAndExpireTimeExtras, ttlExtras, txKey, txUnlock, unlockEntry, unswap, unswap, unswap, unswap, update, updateIndex, updatePlatformCache, updateTtl, valid, value, valueBytes, valueBytes, valueBytes0, version, versionedEntry, versionedValue, visitable, wrap, wrapEviction, wrapLazyValue, wrapVersionedaddMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, clone, copyMeta, copyMeta, hasMeta, hasMeta, meta, putMetaIfAbsent, readExternalMeta, removeAllMeta, removeMeta, removeMeta, replaceMeta, writeExternalMetafinalize, getClass, notify, notifyAll, wait, wait, waitaddMeta, hasMeta, initialValue, initialValue, meta, putMetaIfAbsent, removeMeta, removeMeta, replaceMetapublic boolean isLocal()
isLocal in interface GridCacheEntryExisLocal in class GridCacheMapEntryTrue if local.public boolean tmLock(IgniteInternalTx tx, long timeout, @Nullable @Nullable GridCacheVersion serOrder, GridCacheVersion serReadVer, boolean read) throws GridCacheEntryRemovedException
tx - Cache transaction.timeout - Timeout for lock acquisition.serOrder - Version for serializable transactions ordering.serReadVer - Optional read entry version for optimistic serializable transaction.read - Read lock flag.True if lock was acquired, false otherwise.GridCacheEntryRemovedException - If this entry is obsolete.public boolean recheck(GridCacheVersion ver)
ver - Thread chain version.True if thread chain processing must be stopped.protected void checkThreadChain(GridCacheMvccCandidate owner)
checkThreadChain in class GridCacheMapEntryowner - Starting candidate in the chain.public boolean removeLock(GridCacheVersion ver) throws GridCacheEntryRemovedException
ver - Removes lock.True If lock has been removed.GridCacheEntryRemovedException - If this entry has been removed from cache.public String toString()
toString in class GridCacheMapEntry
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020