| Modifier and Type | Field and Description |
|---|---|
protected GridCacheVersion |
GridCacheClearAllRunnable.obsoleteVer
Obsolete version.
|
protected GridCacheVersion |
GridCacheMapEntry.ver
Version.
|
| Modifier and Type | Field and Description |
|---|---|
static Comparator<GridCacheVersion> |
GridCacheMapEntry.ATOMIC_VER_COMPARATOR |
| 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 |
GridCacheMvccManager.unmapVersion(GridCacheVersion from) |
GridCacheVersion |
CacheEvictionEntry.version() |
GridCacheVersion |
GridCacheSwapEntry.version() |
GridCacheVersion |
GridCacheEntryEx.version() |
GridCacheVersion |
GridCacheFuture.version() |
GridCacheVersion |
GridCacheSwapEntryImpl.version() |
GridCacheVersion |
GridCacheMapEntry.version() |
GridCacheVersion |
GridCacheMvccCandidate.version() |
GridCacheVersion |
GridCacheEntryInfo.version() |
GridCacheVersion |
GridCacheOffheapSwapEntry.version() |
static GridCacheVersion |
GridCacheSwapEntryImpl.version(byte[] bytes) |
static GridCacheVersion |
GridCacheOffheapSwapEntry.version(long ptr) |
| Modifier and Type | Method and Description |
|---|---|
Map<KeyCacheObject,GridCacheVersion> |
IgniteCacheExpiryPolicy.entries() |
Map<KeyCacheObject,GridCacheVersion> |
GridCacheAdapter.CacheExpiryPolicy.entries() |
Collection<GridCacheVersion> |
GridCacheMvccManager.localDhtPendingVersions(Collection<KeyCacheObject> keys,
GridCacheVersion base) |
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() |
| Modifier and Type | Method and Description |
|---|---|
void |
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,
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 |
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.
|
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) |
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(KeyCacheObject key,
GridCacheVersion ver)
Gets explicit lock candidate added by any thread by given key and lock version.
|
<T> GridCacheFuture<T> |
GridCacheMvccManager.future(GridCacheVersion ver,
IgniteUuid futId)
Gets future for given future ID and lock ID.
|
<T> Collection<? extends IgniteInternalFuture<T>> |
GridCacheMvccManager.futures(GridCacheVersion ver)
Gets all futures for given lock version, possibly empty collection.
|
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,
long topVer,
GridDrType drType)
Sets new value if current version is 0
|
boolean |
GridCacheMapEntry.initialValue(CacheObject val,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
long topVer,
GridDrType drType)
Sets new value if current version is 0
|
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean writeThrough,
boolean retval,
boolean evt,
boolean metrics,
long topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
long topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName) |
GridTuple3<Boolean,Object,javax.cache.processor.EntryProcessorResult<Object>> |
GridCacheEntryEx.innerUpdateLocal(GridCacheVersion ver,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean retval,
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 retval,
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> |
GridCacheEntryEx.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
Collection<GridCacheMvccCandidate> |
GridCacheMvcc.localCandidates(GridCacheVersion... excludeVers) |
Collection<GridCacheMvccCandidate> |
GridCacheMapEntry.localCandidates(GridCacheVersion... exclude)
Gets all local candidates.
|
Collection<GridCacheVersion> |
GridCacheMvccManager.localDhtPendingVersions(Collection<KeyCacheObject> keys,
GridCacheVersion base) |
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)
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.
|
boolean |
GridCacheEntryEx.obsolete(GridCacheVersion exclude) |
boolean |
GridCacheMapEntry.obsolete(GridCacheVersion exclude) |
protected void |
GridCacheMapEntry.obsoleteVersionExtras(GridCacheVersion obsoleteVer) |
void |
GridCacheContext.onDeferredDelete(GridCacheEntryEx entry,
GridCacheVersion ver) |
abstract void |
GridCacheAdapter.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.
|
boolean |
GridCacheStoreManager.putToStore(IgniteInternalTx tx,
Object key,
Object val,
GridCacheVersion ver)
Puts key-value pair into storage.
|
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(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.
|
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.
|
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) |
boolean |
GridCacheEntryEx.versionedValue(CacheObject val,
GridCacheVersion curVer,
GridCacheVersion newVer)
Sets new value if passed in version matches the current version
(used for read-through only).
|
boolean |
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. |
| Constructor and Description |
|---|
CacheEvictionEntry(KeyCacheObject key,
GridCacheVersion ver,
boolean near) |
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)
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) |
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)
Constructor.
|
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheVersion |
GridDistributedBaseMessage.ver
Lock or transaction version.
|
| 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 |
GridDistributedLockRequest.nearXidVersion() |
GridCacheVersion |
GridCacheOptimisticCheckPreparedTxRequest.nearXidVersion() |
GridCacheVersion |
GridCacheCommittedTxInfo.originatingTxId() |
GridCacheVersion |
GridCacheOptimisticCheckPreparedTxFuture.version() |
GridCacheVersion |
GridDistributedBaseMessage.version() |
GridCacheVersion |
GridCacheTtlUpdateRequest.version(int idx) |
GridCacheVersion |
GridDistributedTxPrepareRequest.writeVersion() |
GridCacheVersion |
GridDistributedTxFinishResponse.xid() |
| 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() |
| 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,
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) |
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) |
void |
GridDistributedBaseMessage.version(GridCacheVersion ver) |
| Constructor and Description |
|---|
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
IgniteTxKey grpLockKey) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
IgniteTxKey grpLockKey) |
| 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 |
GridDhtTxLocal.nearXidVersion() |
GridCacheVersion |
GridDhtTxRemote.nearXidVersion() |
GridCacheVersion |
GridDhtTxPrepareRequest.nearXidVersion() |
GridCacheVersion |
GridDhtLockRequest.owned(KeyCacheObject key) |
GridCacheVersion |
GridPartitionedGetFuture.version() |
GridCacheVersion |
GridDhtGetFuture.version() |
GridCacheVersion |
GridDhtTxFinishFuture.version() |
GridCacheVersion |
GridDhtLockFuture.version() |
GridCacheVersion |
GridDhtTxPrepareFuture.version() |
GridCacheVersion |
GridDhtTxFinishRequest.writeVersion() |
| 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(long topVer) |
| 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.
|
boolean |
GridDhtCacheEntry.clearInternal(GridCacheVersion ver,
boolean swap)
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)
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 |
GridDhtTxFinishRequest.writeVersion(GridCacheVersion writeVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtTxLocalAdapter.pendingVersions(Collection<GridCacheVersion> pendingVers) |
IgniteInternalFuture<IgniteInternalTx> |
GridDhtTxLocal.prepareAsync(Iterable<IgniteTxEntry> reads,
Iterable<IgniteTxEntry> writes,
Map<IgniteTxKey,GridCacheVersion> verMap,
long msgId,
IgniteUuid nearMiniId,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse> completeCb)
Prepares next batch of entries in dht transaction.
|
| Constructor and Description |
|---|
GridDhtLockFuture(GridCacheContext<K,V> cctx,
UUID nearNodeId,
GridCacheVersion nearLockVer,
long topVer,
int cnt,
boolean read,
long timeout,
GridDhtTxLocalAdapter tx,
long threadId,
long accessTtl,
CacheEntryPredicate[] filter) |
GridDhtLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion lockVer,
long topVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash,
long accessTtl) |
GridDhtLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
int cnt) |
GridDhtLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
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,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash) |
GridDhtTxLocalAdapter(GridCacheSharedContext cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareRequest(IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridDhtTxLocalAdapter tx,
Collection<IgniteTxEntry> dhtWrites,
Collection<IgniteTxEntry> nearWrites,
IgniteTxKey grpLockKey,
boolean partLock,
Map<UUID,Collection<UUID>> txNodes,
GridCacheVersion nearXidVer,
boolean last,
boolean onePhaseCommit,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId) |
GridDhtTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
long rmtThreadId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
| Constructor and Description |
|---|
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
long topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareFuture(GridCacheSharedContext cctx,
GridDhtTxLocalAdapter tx,
IgniteUuid nearMiniId,
Map<IgniteTxKey,GridCacheVersion> dhtVerMap,
boolean last,
boolean retVal,
Collection<UUID> lastBackups,
IgniteInClosure<GridNearTxPrepareResponse> completeCb) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridDhtAtomicUpdateRequest.conflictVersion(int idx) |
GridCacheVersion |
GridNearAtomicUpdateRequest.conflictVersion(int idx) |
GridCacheVersion |
GridDhtAtomicUpdateRequest.futureVersion() |
GridCacheVersion |
GridDhtAtomicUpdateResponse.futureVersion() |
GridCacheVersion |
GridNearAtomicUpdateResponse.futureVersion() |
GridCacheVersion |
GridNearAtomicUpdateRequest.futureVersion() |
GridCacheVersion |
GridNearAtomicUpdateResponse.nearVersion() |
GridCacheVersion |
GridNearAtomicUpdateRequest.updateVersion() |
GridCacheVersion |
GridNearAtomicUpdateFuture.version() |
GridCacheVersion |
GridDhtAtomicUpdateFuture.version() |
GridCacheVersion |
GridDhtAtomicUpdateRequest.writeVersion() |
| Modifier and Type | Method and Description |
|---|---|
List<GridCacheVersion> |
GridNearAtomicUpdateRequest.conflictVersions() |
Collection<GridCacheVersion> |
GridDhtAtomicDeferredUpdateResponse.futureVersions() |
| 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) |
void |
GridDhtAtomicUpdateRequest.addWriteValue(KeyCacheObject key,
CacheObject val,
javax.cache.processor.EntryProcessor<Object,Object,Object> entryProcessor,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
void |
GridNearAtomicUpdateResponse.nearVersion(GridCacheVersion nearVer) |
| 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.
|
| 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,
long topVer,
boolean forceTransformBackups,
UUID subjId,
int taskNameHash,
Object[] invokeArgs)
Constructor.
|
GridDhtAtomicUpdateResponse(int cacheId,
GridCacheVersion futVer) |
GridNearAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
long topVer,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
boolean forceTransformBackups,
javax.cache.expiry.ExpiryPolicy expiryPlc,
Object[] invokeArgs,
CacheEntryPredicate[] filter,
UUID subjId,
int taskNameHash)
Constructor.
|
GridNearAtomicUpdateResponse(int cacheId,
UUID nodeId,
GridCacheVersion futVer) |
| Constructor and Description |
|---|
GridDhtAtomicDeferredUpdateResponse(int cacheId,
Collection<GridCacheVersion> futVers)
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) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridDhtColocatedLockFuture.version() |
| 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.
|
| Constructor and Description |
|---|
GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id,
GridCacheVersion lastVer,
long topVer) |
GridDhtPartitionsSingleMessage(GridDhtPartitionExchangeId exchId,
GridCacheVersion lastVer) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridNearCacheEntry.dhtVersion() |
GridCacheVersion |
GridNearTxPrepareResponse.dhtVersion() |
GridCacheVersion |
GridNearLockResponse.dhtVersion(int idx) |
GridCacheVersion |
GridNearLockRequest.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 |
GridNearTxPrepareFuture.version() |
GridCacheVersion |
GridNearGetFuture.version() |
GridCacheVersion |
CacheVersionedValue.version() |
GridCacheVersion |
GridNearGetRequest.version() |
GridCacheVersion |
GridNearGetResponse.version() |
GridCacheVersion |
GridNearTxFinishFuture.version() |
GridCacheVersion |
GridNearLockFuture.version() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheVersion> |
GridNearLockResponse.pending()
Gets pending versions that are less than
GridDistributedBaseMessage.version(). |
Collection<GridCacheVersion> |
GridNearTxPrepareResponse.pending()
Gets pending versions that are less than
GridDistributedBaseMessage.version(). |
IgniteBiTuple<GridCacheVersion,CacheObject> |
GridNearCacheEntry.versionedValue() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridNearTxRemote.addEntry(GridCacheContext cacheCtx,
IgniteTxKey key,
GridCacheOperation op,
CacheObject val,
GridCacheVersion drVer) |
void |
GridNearLockRequest.addKeyBytes(KeyCacheObject key,
boolean retVal,
GridCacheVersion dhtVer,
GridCacheContext ctx)
Adds a key.
|
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.
|
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,
long topVer) |
boolean |
GridNearCacheEntry.loadedValue(IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
GridCacheVersion expVer,
long ttl,
long expireTime,
boolean evt,
long topVer,
UUID subjId) |
void |
GridNearAtomicCache.onDeferredDelete(GridCacheEntryEx entry,
GridCacheVersion ver) |
void |
GridNearTransactionalCache.onDeferredDelete(GridCacheEntryEx entry,
GridCacheVersion ver) |
void |
GridNearCacheEntry.recordDhtVersion(GridCacheVersion dhtVer)
This method should be called only when committing optimistic transactions.
|
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)
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)
This method should be called only when lock is owned on this entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridNearTxRemote.ownedVersions(Map<IgniteTxKey,GridCacheVersion> vers)
Adds owned versions to map.
|
void |
GridNearLockResponse.pending(Collection<GridCacheVersion> pending)
Sets pending versions that are less than
GridDistributedBaseMessage.version(). |
void |
GridNearTxPrepareResponse.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.
|
| Constructor and Description |
|---|
GridNearCacheClearAllRunnable(GridCacheAdapter<K,V> cache,
GridCacheVersion obsoleteVer,
GridCacheClearAllRunnable<K,V> dhtJob)
Constructor.
|
GridNearGetRequest(int cacheId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion ver,
LinkedHashMap<KeyCacheObject,Boolean> keys,
boolean readThrough,
boolean reload,
long topVer,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipVals) |
GridNearGetResponse(int cacheId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion ver) |
GridNearLockRequest(int cacheId,
long topVer,
UUID nodeId,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean syncCommit,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash,
long accessTtl) |
GridNearLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
boolean filterRes,
int cnt,
Throwable err) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxFinishResponse(GridCacheVersion xid,
long nearThreadId,
IgniteUuid futId,
IgniteUuid miniId,
Throwable err) |
GridNearTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion dhtVer,
Collection<Integer> invalidParts,
GridCacheReturn retVal,
Throwable err) |
GridNearTxRemote(GridCacheSharedContext ctx,
ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
Collection<IgniteTxEntry> writeEntries,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(GridCacheSharedContext ctx,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
long rmtThreadId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
| Constructor and Description |
|---|
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
GridIoPolicy plc,
boolean syncCommit,
boolean syncRollback,
boolean explicitLock,
boolean storeEnabled,
long topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheDrInfo.version() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
| Constructor and Description |
|---|
GridCacheDrExpirationInfo(CacheObject val,
GridCacheVersion ver,
long ttl,
long expireTime)
Constructor.
|
GridCacheDrInfo(CacheObject val,
GridCacheVersion ver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridOsCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType)
Performs replication.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesMvccObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheMvccObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesMvccObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheAttributesObsoleteTtlEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheObsoleteEntryExtras.obsoleteVersion() |
GridCacheVersion |
GridCacheEntryExtrasAdapter.obsoleteVersion() |
GridCacheVersion |
GridCacheMvccObsoleteTtlEntryExtras.obsoleteVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridLocalLockFuture.version() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridLocalCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
void |
GridLocalCache.onDeferredDelete(GridCacheEntryEx entry,
GridCacheVersion ver) |
GridCacheMvccCandidate |
GridLocalCacheEntry.readyLocal(GridCacheVersion ver) |
boolean |
GridLocalCacheEntry.removeLock(GridCacheVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridLocalAtomicCache.onDeferredDelete(GridCacheEntryEx entry,
GridCacheVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheQueryManager.store(K key,
byte[] keyBytes,
V val,
byte[] valBytes,
GridCacheVersion ver,
long expirationTime)
Writes key-value pair to index.
|
| 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).
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
IgniteTxAdapter.commitVersion() |
GridCacheVersion |
IgniteInternalTx.commitVersion() |
GridCacheVersion |
IgniteTxLocalAdapter.completedBase() |
GridCacheVersion |
IgniteTxEntry.conflictVersion() |
GridCacheVersion |
IgniteTxEntry.dhtVersion() |
GridCacheVersion |
IgniteTxAdapter.endVersion() |
GridCacheVersion |
IgniteInternalTx.endVersion() |
GridCacheVersion |
IgniteTxEntry.explicitVersion() |
GridCacheVersion |
IgniteTxManager.mappedVersion(GridCacheVersion from) |
GridCacheVersion |
IgniteTxLocalEx.minVersion() |
GridCacheVersion |
IgniteTxLocalAdapter.minVersion()
Gets minimum version present in transaction.
|
GridCacheVersion |
IgniteTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
GridCacheVersion |
IgniteTxAdapter.nearXidVersion() |
GridCacheVersion |
IgniteInternalTx.nearXidVersion() |
GridCacheVersion |
IgniteTxAdapter.ownedVersion(IgniteTxKey key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
IgniteInternalTx.ownedVersion(IgniteTxKey key)
Gets owned version for near remote transaction.
|
GridCacheVersion |
IgniteTxAdapter.startVersion() |
GridCacheVersion |
IgniteInternalTx.startVersion() |
GridCacheVersion |
IgniteTxManager.txContextVersion()
Gets version of transaction in tx context or
null
if tx context is empty. |
GridCacheVersion |
IgniteTxAdapter.writeVersion() |
GridCacheVersion |
IgniteInternalTx.writeVersion() |
GridCacheVersion |
IgniteTxAdapter.xidVersion() |
GridCacheVersion |
IgniteInternalTx.xidVersion() |
| Modifier and Type | Method and Description |
|---|---|
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.alternateVersions() |
Collection<GridCacheVersion> |
IgniteInternalTx.alternateVersions() |
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.committedVersions() |
Collection<GridCacheVersion> |
IgniteTxManager.committedVersions(GridCacheVersion min)
Gets committed transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
Collection<GridCacheVersion> |
IgniteTxLocalAdapter.rolledbackVersions() |
Collection<GridCacheVersion> |
IgniteTxManager.rolledbackVersions(GridCacheVersion min)
Gets rolledback transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteTxManager.addAlternateVersion(GridCacheVersion ver,
IgniteInternalTx tx) |
boolean |
IgniteTxManager.addCommittedTx(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 |
IgniteTxManager.addRolledbackTx(GridCacheVersion xidVer) |
Collection<GridCacheVersion> |
IgniteTxManager.committedVersions(GridCacheVersion min)
Gets committed transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
boolean |
IgniteTxAdapter.commitVersion(GridCacheVersion commitVer) |
boolean |
IgniteInternalTx.commitVersion(GridCacheVersion commitVer) |
void |
IgniteTxLocalAdapter.completedVersions(GridCacheVersion completedBase,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers) |
void |
IgniteTxAdapter.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> txs) |
void |
IgniteInternalTx.completedVersions(GridCacheVersion base,
Collection<GridCacheVersion> committed,
Collection<GridCacheVersion> rolledback) |
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 |
IgniteTxAdapter.endVersion(GridCacheVersion endVer) |
void |
IgniteInternalTx.endVersion(GridCacheVersion endVer) |
void |
IgniteTxEntry.explicitVersion(GridCacheVersion explicitVer) |
IgniteInternalTx |
IgniteTxManager.localTxForRecovery(GridCacheVersion nearXidVer,
boolean markFinalizing)
Gets local transaction for pessimistic tx recovery.
|
GridCacheVersion |
IgniteTxManager.mappedVersion(GridCacheVersion from) |
<T extends IgniteInternalTx> |
IgniteTxManager.nearTx(GridCacheVersion txId) |
GridCacheVersion |
IgniteTxManager.nearVersion(GridCacheVersion dhtVer)
Reverse mapped version look up.
|
Collection<GridCacheVersion> |
IgniteTxManager.rolledbackVersions(GridCacheVersion min)
Gets rolledback transactions starting from the given version (inclusive). // TODO: GG-4011: why inclusive?
|
<T extends IgniteInternalTx> |
IgniteTxManager.tx(GridCacheVersion txId) |
boolean |
IgniteTxManager.txsPreparedOrCommitted(GridCacheVersion nearVer,
int txNum)
Checks if transactions with given near version ID was prepared or committed.
|
IgniteInternalTx |
IgniteTxManager.txx(GridCacheVersion txId) |
void |
IgniteTxAdapter.writeVersion(GridCacheVersion writeVer)
Sets write version.
|
void |
IgniteInternalTx.writeVersion(GridCacheVersion ver)
Sets write version.
|
| Constructor and Description |
|---|
IgniteTxAdapter(GridCacheSharedContext<?,?> cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean loc,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
UUID subjId,
int taskNameHash) |
IgniteTxAdapter(GridCacheSharedContext<?,?> cctx,
UUID nodeId,
GridCacheVersion xidVer,
GridCacheVersion startVer,
long threadId,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
int txSize,
IgniteTxKey grpLockKey,
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)
This constructor is meant for local transactions.
|
IgniteTxEntry(GridCacheContext<?,?> ctx,
IgniteInternalTx tx,
GridCacheOperation op,
CacheObject val,
long ttl,
long conflictExpireTime,
GridCacheEntryEx entry,
GridCacheVersion conflictVer)
This constructor is meant for remote transactions.
|
IgniteTxLocalAdapter(GridCacheSharedContext cctx,
GridCacheVersion xidVer,
boolean implicit,
boolean implicitSingle,
boolean sys,
GridIoPolicy plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
int txSize,
IgniteTxKey grpLockKey,
boolean partLock,
UUID subjId,
int taskNameHash) |
| Modifier and Type | Class and Description |
|---|---|
class |
GridCacheVersionEx
Extended cache version which also has additional DR version.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheVersion.conflictVersion() |
GridCacheVersion |
GridCacheVersionEx.conflictVersion() |
GridCacheVersion |
GridCacheVersionManager.last()
Gets last generated version without generating a new one.
|
GridCacheVersion |
GridCacheVersionManager.next() |
GridCacheVersion |
GridCacheVersionManager.next(GridCacheVersion ver)
Gets next version based on given cache version.
|
GridCacheVersion |
GridCacheVersionManager.next(long topVer)
Gets next version based on given topology version.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad()
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.nextForLoad(long topVer)
Gets next version for cache store load and reload operations.
|
GridCacheVersion |
GridCacheVersionManager.onReceivedAndNext(UUID nodeId,
GridCacheVersion ver) |
GridCacheVersion |
GridCacheVersionable.version() |
GridCacheVersion |
GridCachePlainVersionedEntry.version() |
GridCacheVersion |
GridCacheRawVersionedEntry.version() |
| 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) |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static GridCacheVersion |
IgniteUtils.readVersion(byte[] arr,
long off,
boolean verEx) |
static GridCacheVersion |
IgniteUtils.readVersion(long ptr,
boolean verEx) |
| Modifier and Type | Method and Description |
|---|---|
static long |
IgniteUtils.writeVersion(byte[] arr,
long off,
GridCacheVersion ver) |
Follow @ApacheIgnite
Ignite Fabric : ver. 1.0.0-RC3 Release Date : March 24 2015