| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
AffinityFunctionContext.currentTopologyVersion()
Gets current topology version number.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridJobExecuteResponse.getRetryTopologyVersion() |
AffinityTopologyVersion |
GridJobExecuteRequest.getTopVer() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridMessageListenHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,Long>> cntrsPerNode,
Map<Integer,Long> cntrs) |
| Constructor and Description |
|---|
GridJobExecuteRequest(IgniteUuid sesId,
IgniteUuid jobId,
String taskName,
String userVer,
String taskClsName,
byte[] jobBytes,
ComputeJob job,
long startTaskTime,
long timeout,
Collection<UUID> top,
byte[] siblingsBytes,
Collection<ComputeJobSibling> siblings,
byte[] sesAttrsBytes,
Map<Object,Object> sesAttrs,
byte[] jobAttrsBytes,
Map<? extends Serializable,? extends Serializable> jobAttrs,
String cpSpi,
IgniteUuid clsLdrId,
DeploymentMode depMode,
boolean dynamicSiblings,
Map<UUID,IgniteUuid> ldrParticipants,
boolean forceLocDep,
boolean sesFullSup,
boolean internal,
UUID subjId,
int[] cacheIds,
int part,
AffinityTopologyVersion topVer) |
GridJobExecuteResponse(UUID nodeId,
IgniteUuid sesId,
IgniteUuid jobId,
byte[] gridExBytes,
IgniteException gridEx,
byte[] resBytes,
Object res,
byte[] jobAttrsBytes,
Map<Object,Object> jobAttrs,
boolean isCancelled,
AffinityTopologyVersion retry) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DiscoveryCustomEvent.affinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DiscoveryCustomEvent.affinityTopologyVersion(AffinityTopologyVersion affTopVer) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDiscoveryManager.topologyVersionEx() |
| Modifier and Type | Method and Description |
|---|---|
Collection<ClusterNode> |
GridDiscoveryManager.aliveCacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name.
|
Collection<ClusterNode> |
GridDiscoveryManager.aliveNodesWithCaches(AffinityTopologyVersion topVer)
Gets alive nodes with at least one cache configured.
|
Collection<ClusterNode> |
GridDiscoveryManager.aliveRemoteCacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache remote nodes for cache with given name.
|
Collection<ClusterNode> |
GridDiscoveryManager.aliveRemoteServerNodesWithCaches(AffinityTopologyVersion topVer)
Gets alive remote server nodes with at least one cache configured.
|
Collection<ClusterNode> |
GridDiscoveryManager.aliveServerNodesWithCaches(AffinityTopologyVersion topVer)
Gets alive server nodes with at least one cache configured.
|
Collection<ClusterNode> |
GridDiscoveryManager.cacheAffinityNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name that participate in affinity calculation.
|
Collection<ClusterNode> |
GridDiscoveryManager.cacheNodes(AffinityTopologyVersion topVer)
Gets all nodes with at least one cache configured.
|
Collection<ClusterNode> |
GridDiscoveryManager.cacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name.
|
org.apache.ignite.internal.managers.discovery.GridDiscoveryManager.DiscoCache |
GridDiscoveryManager.discoCache(AffinityTopologyVersion topVer)
Gets discovery collection cache from SPI safely guarding against "floating" collections.
|
boolean |
GridDiscoveryManager.hasNearCache(String cacheName,
AffinityTopologyVersion topVer)
Checks if cache with given name has at least one node with near cache enabled.
|
ClusterNode |
GridDiscoveryManager.node(AffinityTopologyVersion topVer,
UUID id)
Gets node from history for given topology version.
|
Collection<ClusterNode> |
GridDiscoveryManager.nodes(AffinityTopologyVersion topVer)
Gets all nodes for given topology version.
|
void |
CustomEventListener.onCustomEvent(AffinityTopologyVersion topVer,
ClusterNode snd,
T msg) |
Collection<ClusterNode> |
GridDiscoveryManager.remoteCacheNodes(AffinityTopologyVersion topVer)
Gets cache remote nodes for cache with given name.
|
Collection<ClusterNode> |
GridDiscoveryManager.remoteCacheNodes(String cacheName,
AffinityTopologyVersion topVer)
Gets cache remote nodes for cache with given name.
|
List<ClusterNode> |
GridDiscoveryManager.serverNodes(AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridFailoverContextImpl.affinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
GridFailoverManager.failover(GridTaskSessionImpl taskSes,
ComputeJobResult jobRes,
List<ClusterNode> top,
int affPartId,
Object affKey,
String affCacheName,
AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridFailoverContextImpl(GridTaskSessionImpl taskSes,
ComputeJobResult jobRes,
GridLoadBalancerManager loadMgr,
int partId,
Object affKey,
String affCacheName,
AffinityTopologyVersion topVer)
Initializes failover context.
|
| Modifier and Type | Field and Description |
|---|---|
static AffinityTopologyVersion |
AffinityTopologyVersion.NONE |
static AffinityTopologyVersion |
AffinityTopologyVersion.ZERO |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridAffinityFunctionContextImpl.currentTopologyVersion()
Gets current topology version number.
|
AffinityTopologyVersion |
GridAffinityAssignmentCache.lastVersion() |
AffinityTopologyVersion |
HistoryAffinityAssignment.topologyVersion() |
AffinityTopologyVersion |
GridAffinityAssignment.topologyVersion() |
AffinityTopologyVersion |
AffinityAssignment.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<AffinityTopologyVersion> |
GridAffinityAssignmentCache.readyFuture(AffinityTopologyVersion topVer)
Gets future that will be completed after topology with version
topVer is calculated. |
| Modifier and Type | Method and Description |
|---|---|
List<List<ClusterNode>> |
GridAffinityAssignmentCache.assignments(AffinityTopologyVersion topVer) |
Set<Integer> |
GridAffinityAssignmentCache.backupPartitions(UUID nodeId,
AffinityTopologyVersion topVer)
Get backup partitions for specified node ID.
|
AffinityAssignment |
GridAffinityAssignmentCache.cachedAffinity(AffinityTopologyVersion topVer)
Get cached affinity for specified topology version.
|
List<List<ClusterNode>> |
GridAffinityAssignmentCache.calculate(AffinityTopologyVersion topVer,
DiscoveryEvent discoEvt)
Calculates affinity cache for given topology version.
|
void |
GridAffinityAssignmentCache.clientEventTopologyChange(DiscoveryEvent evt,
AffinityTopologyVersion topVer)
Copies previous affinity assignment when discovery event does not cause affinity assignment changes
(e.g. client node joins on leaves).
|
int |
AffinityTopologyVersion.compareTo(AffinityTopologyVersion o) |
void |
GridAffinityAssignmentCache.initialize(AffinityTopologyVersion topVer,
List<List<ClusterNode>> affAssignment)
Initializes affinity with given topology version and assignment.
|
<K> ClusterNode |
GridAffinityProcessor.mapKeyToNode(String cacheName,
K key,
AffinityTopologyVersion topVer)
Maps single key to a node.
|
<K> List<ClusterNode> |
GridAffinityProcessor.mapKeyToPrimaryAndBackups(String cacheName,
K key,
AffinityTopologyVersion topVer)
Map single key to primary and backup nodes.
|
ClusterNode |
GridAffinityProcessor.mapPartitionToNode(String cacheName,
int partId,
AffinityTopologyVersion topVer)
Maps partition to a node.
|
List<ClusterNode> |
GridAffinityAssignmentCache.nodes(int part,
AffinityTopologyVersion topVer)
Gets affinity nodes for specified partition.
|
boolean |
GridAffinityAssignmentCache.primaryChanged(int part,
AffinityTopologyVersion startVer,
AffinityTopologyVersion endVer) |
Set<Integer> |
GridAffinityAssignmentCache.primaryPartitions(UUID nodeId,
AffinityTopologyVersion topVer)
Get primary partitions for specified node ID.
|
IgniteInternalFuture<AffinityTopologyVersion> |
GridAffinityAssignmentCache.readyFuture(AffinityTopologyVersion topVer)
Gets future that will be completed after topology with version
topVer is calculated. |
| Constructor and Description |
|---|
GridAffinityFunctionContextImpl(List<ClusterNode> topSnapshot,
List<List<ClusterNode>> prevAssignment,
DiscoveryEvent discoEvt,
AffinityTopologyVersion topVer,
int backups) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridCacheAdapter.TopologyVersionAwareJob.topVer
Affinity topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridCacheAffinityManager.affinityTopologyVersion() |
AffinityTopologyVersion |
DynamicCacheChangeRequest.cacheFutureTopologyVersion() |
AffinityTopologyVersion |
GridCacheMvccManager.lastExplicitLockTopologyVersion(long threadId) |
AffinityTopologyVersion |
GridCacheSharedContext.lockedTopologyVersion(IgniteInternalTx ignore) |
AffinityTopologyVersion |
GridCachePartitionExchangeManager.readyAffinityVersion() |
AffinityTopologyVersion |
DynamicCacheDescriptor.receivedFromStartVersion() |
AffinityTopologyVersion |
DynamicCacheDescriptor.startTopologyVersion() |
AffinityTopologyVersion |
GridCacheContext.startTopologyVersion() |
AffinityTopologyVersion |
GridCachePartitionExchangeManager.topologyVersion()
Gets topology version of last partition exchange, it is possible that last partition exchange
is not completed yet.
|
AffinityTopologyVersion |
CachePartialUpdateCheckedException.topologyVersion() |
AffinityTopologyVersion |
GridCacheExplicitLockSpan.topologyVersion()
Gets actual topology snapshot for thread lock span.
|
AffinityTopologyVersion |
GridCacheEvictionRequest.topologyVersion() |
AffinityTopologyVersion |
GridCacheMvccCandidate.topologyVersion() |
AffinityTopologyVersion |
CacheAffinityChangeMessage.topologyVersion() |
AffinityTopologyVersion |
GridCacheMessage.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuture(AffinityTopologyVersion topVer)
Gets affinity ready future, a future that will be completed after affinity with given
topology version is calculated.
|
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuture(long topVer)
Gets affinity ready future, a future that will be completed after affinity with given
topology version is calculated.
|
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuturex(AffinityTopologyVersion topVer)
Gets affinity ready future that will be completed after affinity with given topology version is calculated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CachePartialUpdateCheckedException.add(Collection<?> failedKeys,
Throwable err,
AffinityTopologyVersion topVer) |
boolean |
GridCacheExplicitLockSpan.addCandidate(AffinityTopologyVersion topVer,
GridCacheMvccCandidate cand)
Adds candidate to a lock span.
|
GridFutureAdapter |
GridCacheMvccManager.addDataStreamerFuture(AffinityTopologyVersion topVer) |
void |
GridCacheMvccManager.addExplicitLock(long threadId,
GridCacheMvccCandidate cand,
AffinityTopologyVersion topVer)
Adds candidate to the list of near local candidates.
|
static Collection<ClusterNode> |
GridCacheUtils.affinityNodes(GridCacheContext ctx,
AffinityTopologyVersion topOrder)
Gets DHT affinity nodes.
|
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuture(AffinityTopologyVersion topVer)
Gets affinity ready future, a future that will be completed after affinity with given
topology version is calculated.
|
IgniteInternalFuture<?> |
GridCachePartitionExchangeManager.affinityReadyFuture(AffinityTopologyVersion ver) |
IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuturex(AffinityTopologyVersion topVer)
Gets affinity ready future that will be completed after affinity with given topology version is calculated.
|
static Collection<ClusterNode> |
GridCacheUtils.allNodes(GridCacheContext ctx,
AffinityTopologyVersion topOrder)
Gets all nodes on which cache with the same name is started.
|
static Collection<ClusterNode> |
GridCacheUtils.allNodes(GridCacheSharedContext ctx,
AffinityTopologyVersion topOrder)
Gets all nodes with at least one cache configured.
|
boolean |
GridCacheContext.allowFastLocalRead(int part,
List<ClusterNode> affNodes,
AffinityTopologyVersion topVer) |
AffinityAssignment |
GridCacheAffinityManager.assignment(AffinityTopologyVersion topVer)
Get affinity assignment for the given topology version.
|
List<List<ClusterNode>> |
GridCacheAffinityManager.assignments(AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.backup(ClusterNode n,
int part,
AffinityTopologyVersion topVer) |
Set<Integer> |
GridCacheAffinityManager.backupPartitions(UUID nodeId,
AffinityTopologyVersion topVer) |
Collection<ClusterNode> |
GridCacheAffinityManager.backups(int part,
AffinityTopologyVersion topVer) |
Collection<ClusterNode> |
GridCacheAffinityManager.backups(Object key,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.belongs(ClusterNode node,
int part,
AffinityTopologyVersion topVer) |
void |
DynamicCacheChangeRequest.cacheFutureTopologyVersion(AffinityTopologyVersion cacheFutTopVer) |
IgniteInternalFuture<Void> |
GridCacheAtomicFuture.completeFuture(AffinityTopologyVersion topVer)
Gets future that will be completed when it is safe when update is finished on the given version of topology.
|
GridCacheMapEntry |
GridCacheMapEntryFactory.create(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
void |
GridCacheContext.dhtMap(UUID nearNodeId,
AffinityTopologyVersion topVer,
GridDhtCacheEntry entry,
GridCacheVersion explicitLockVer,
IgniteLogger log,
Map<ClusterNode,List<GridDhtCacheEntry>> dhtMap,
Map<ClusterNode,List<GridDhtCacheEntry>> nearMap) |
void |
GridCachePartitionExchangeManager.dumpDebugInfo(AffinityTopologyVersion exchTopVer) |
GridCacheEntryEx |
GridCacheAdapter.entryEx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
protected GridCacheEntryEx |
GridCacheAdapter.entryExSafe(KeyCacheObject key,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheMvccManager.finishAtomicUpdates(AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheMvccManager.finishExplicitLocks(AffinityTopologyVersion topVer)
Creates a future that will wait for all explicit locks acquired on given topology
version to be released.
|
IgniteInternalFuture<?> |
GridCacheMvccManager.finishKeys(Collection<KeyCacheObject> keys,
int cacheId,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheMvccManager.finishLocks(AffinityTopologyVersion topVer) |
boolean |
GridCacheMapEntry.initialValue(CacheObject val,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore)
Sets new value if current version is 0
|
boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore)
Sets new value if current version is 0
|
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName,
GridCacheVersion dhtVer,
Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
GridCacheVersion explicitVer,
UUID subjId,
String taskName,
GridCacheVersion dhtVer,
Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName,
GridCacheVersion dhtVer,
Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
GridCacheVersion explicitVer,
UUID subjId,
String taskName,
GridCacheVersion dhtVer,
Long updateCntr) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object writeObj,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName,
CacheObject prevVal,
Long updateCntr,
GridDhtAtomicAbstractUpdateFuture fut) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
Object val,
Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
UUID subjId,
String taskName,
CacheObject prevVal,
Long updateCntr,
GridDhtAtomicAbstractUpdateFuture fut) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridCacheAdapter.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> javax.cache.processor.EntryProcessorResult<T> |
IgniteInternalCache.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> javax.cache.processor.EntryProcessorResult<T> |
GridCacheProxyImpl.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> T |
IgniteCacheProxy.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
boolean |
GridCacheAffinityManager.localNode(int part,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.localNode(Object key,
AffinityTopologyVersion topVer) |
IgniteProductVersion |
GridCachePartitionExchangeManager.minimumNodeVersion(AffinityTopologyVersion topVer)
Gets minimum node version for the given topology version.
|
IgniteInternalFuture<?> |
GridCacheSharedContext.nextAffinityReadyFuture(AffinityTopologyVersion curVer)
Gets ready future for the next affinity topology version (used in cases when a node leaves grid).
|
List<ClusterNode> |
GridCacheAffinityManager.nodes(int part,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridCacheAffinityManager.nodes(Object key,
AffinityTopologyVersion topVer) |
int |
GridCacheSwapManager.offheapEntriesCount(boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
<K,V> Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheSwapManager.offheapIterator(boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
boolean keepBinary) |
Iterator<KeyCacheObject> |
GridCacheSwapManager.offHeapKeyIterator(boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
static ClusterNode |
GridCacheUtils.oldestAliveCacheServerNode(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer)
Gets oldest alive server node with at least one cache configured for specified topology version.
|
boolean |
GridCacheProcessor.onCustomEvent(DiscoveryCustomMessage msg,
AffinityTopologyVersion topVer)
Callback invoked from discovery thread when discovery custom message is received.
|
void |
GridCacheProcessor.onDiscoveryEvent(int type,
ClusterNode node,
AffinityTopologyVersion topVer) |
void |
GridCacheProcessor.onExchangeDone(AffinityTopologyVersion topVer,
Collection<DynamicCacheChangeRequest> reqs,
Throwable err)
Callback invoked when first exchange future for dynamic cache is completed.
|
abstract IgniteInternalFuture<T> |
GridCacheAdapter.AsyncOp.op(IgniteTxLocalAdapter tx,
AffinityTopologyVersion readyTopVer) |
IgniteInternalFuture<?> |
GridCacheSharedContext.partitionReleaseFuture(AffinityTopologyVersion topVer)
Waits for partition locks and transactions release.
|
CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy expiryPlc)
Peeks into entry without loading value or updating statistics.
|
CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
boolean swap,
AffinityTopologyVersion topVer,
IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
void |
GridCacheProcessor.prepareCacheStart(DynamicCacheChangeRequest req,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.primary(ClusterNode n,
int part,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.primary(ClusterNode n,
Object key,
AffinityTopologyVersion topVer) |
ClusterNode |
GridCacheAffinityManager.primary(int part,
AffinityTopologyVersion topVer) |
ClusterNode |
GridCacheAffinityManager.primary(Object key,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.primaryChanged(int part,
AffinityTopologyVersion startVer,
AffinityTopologyVersion endVer) |
Set<Integer> |
GridCacheAffinityManager.primaryPartitions(UUID nodeId,
AffinityTopologyVersion topVer) |
GridCacheMapEntry |
GridCacheConcurrentMapImpl.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
GridCacheMapEntry |
GridCacheConcurrentMap.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
GridCacheMapEntry |
GridNoStorageCacheMap.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
GridCloseableIterator<Map.Entry<byte[],byte[]>> |
GridCacheSwapManager.rawSwapIterator(boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
void |
DynamicCacheDescriptor.receivedFromStartVersion(AffinityTopologyVersion rcvdFromVer) |
protected void |
GridCacheMapEntry.recordNodeId(UUID nodeId,
AffinityTopologyVersion topVer) |
static Collection<ClusterNode> |
GridCacheUtils.remoteNodes(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer)
Gets remote nodes with at least one cache configured.
|
Collection<ClusterNode> |
GridCacheAffinityManager.remoteNodes(Iterable keys,
AffinityTopologyVersion topVer) |
void |
GridCacheMvccManager.removeExplicitNodeLocks(UUID leftNodeId,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<Object> |
GridCachePreloaderAdapter.request(Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
IgniteInternalFuture<Object> |
GridCachePreloader.request(Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
IgniteInternalFuture<Object> |
GridCachePreloaderAdapter.request(GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
IgniteInternalFuture<Object> |
GridCachePreloader.request(GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
Collection<DynamicCacheDescriptor> |
GridCacheProcessor.startReceivedCaches(AffinityTopologyVersion topVer)
Starts statically configured caches received from remote nodes during exchange.
|
void |
DynamicCacheDescriptor.startTopologyVersion(AffinityTopologyVersion startTopVer) |
void |
GridCacheContext.startTopologyVersion(AffinityTopologyVersion startTopVer) |
int |
GridCacheSwapManager.swapEntriesCount(boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
<K,V> Iterator<javax.cache.Cache.Entry<K,V>> |
GridCacheSwapManager.swapIterator(boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
boolean keepBinary) |
Iterator<KeyCacheObject> |
GridCacheSwapManager.swapKeyIterator(boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
void |
GridCacheMvccCandidate.topologyVersion(AffinityTopologyVersion topVer) |
void |
GridCacheEvictionManager.touch(GridCacheEntryEx e,
AffinityTopologyVersion topVer) |
Map<IgniteTxKey,Collection<GridCacheMvccCandidate>> |
GridCacheMvccManager.unfinishedLocks(AffinityTopologyVersion topVer) |
boolean |
GridCacheMapEntry.valid(AffinityTopologyVersion topVer) |
boolean |
GridCacheEntryEx.valid(AffinityTopologyVersion topVer) |
protected IgniteInternalFuture<T> |
GridCacheAdapter.AsyncOp.waitTopologyFuture(IgniteInternalFuture<?> topFut,
AffinityTopologyVersion topVer,
IgniteTxLocalAdapter tx,
CacheOperationContext opCtx) |
| Constructor and Description |
|---|
CacheAffinityChangeMessage(AffinityTopologyVersion topVer,
Map<Integer,Map<Integer,List<UUID>>> assignmentChange,
Map<Integer,IgniteUuid> cacheDeploymentIds)
Constructor used when message is created after cache rebalance finished.
|
GridCacheAdapter.TopologyVersionAwareJob(String cacheName,
AffinityTopologyVersion topVer) |
GridCacheExplicitLockSpan(AffinityTopologyVersion topVer,
GridCacheMvccCandidate cand) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridCacheTtlUpdateRequest.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridDistributedCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
AffinityTopologyVersion topVer,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
| Constructor and Description |
|---|
GridCacheTtlUpdateRequest(int cacheId,
AffinityTopologyVersion topVer,
long ttl) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtCacheAdapter.beginMultiUpdate()
Starts multi-update lock.
|
AffinityTopologyVersion |
GridDhtAffinityAssignmentResponse.topologyVersion() |
AffinityTopologyVersion |
GridDhtUnreservedPartitionException.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionTopology.topologyVersion()
Topology version.
|
AffinityTopologyVersion |
GridDhtTopologyFuture.topologyVersion()
Gets topology version of this future.
|
AffinityTopologyVersion |
GridDhtAffinityAssignmentRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtLockRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtTxPrepareRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtTxFinishRequest.topologyVersion() |
AffinityTopologyVersion |
GridClientPartitionTopology.topologyVersion()
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
T2<Integer,AffinityTopologyVersion> |
GridDhtAssignmentFetchFuture.key() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridDhtCacheEntry.addDhtLocal(UUID nearNodeId,
GridCacheVersion nearVer,
AffinityTopologyVersion topVer,
long threadId,
GridCacheVersion ver,
GridCacheVersion serOrder,
GridCacheVersion serReadVer,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
protected abstract IgniteInternalFuture<Boolean> |
GridDhtTxLocalAdapter.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
protected IgniteInternalFuture<Boolean> |
GridDhtTxLocal.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
IgniteInternalFuture<Boolean> |
GridDhtCacheEntry.addReader(UUID nodeId,
long msgId,
AffinityTopologyVersion topVer) |
boolean |
GridDhtLocalPartition.backup(AffinityTopologyVersion topVer) |
GridCacheEntryEx |
GridDhtCacheAdapter.entryEx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
GridDhtCacheEntry |
GridDhtCacheAdapter.entryExx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
GridDhtFuture<Collection<GridCacheEntryInfo>> |
GridDhtCacheAdapter.getDhtAsync(UUID reader,
long msgId,
Map<KeyCacheObject,Boolean> keys,
boolean readThrough,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiry,
boolean skipVals) |
Iterator<javax.cache.Cache.Entry<K,V>> |
GridDhtCacheAdapter.localEntriesIterator(boolean primary,
boolean backup,
boolean keepBinary,
AffinityTopologyVersion topVer) |
GridDhtLocalPartition |
GridDhtPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
GridDhtLocalPartition |
GridClientPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
IgniteInternalFuture<?> |
GridDhtCacheAdapter.multiUpdateFinishFuture(AffinityTopologyVersion topVer)
Creates multi update finish future.
|
protected boolean |
GridDhtCacheAdapter.needRemap(AffinityTopologyVersion expVer,
AffinityTopologyVersion curVer) |
List<ClusterNode> |
GridDhtPartitionTopology.nodes(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridClientPartitionTopology.nodes(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridDhtPartitionTopology.owners(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridClientPartitionTopology.owners(int p,
AffinityTopologyVersion topVer) |
boolean |
GridDhtLocalPartition.primary(AffinityTopologyVersion topVer) |
GridCacheMapEntry |
GridCachePartitionedConcurrentMap.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
GridCacheMapEntry |
GridDhtLocalPartition.putEntryIfObsoleteOrAbsent(AffinityTopologyVersion topVer,
KeyCacheObject key,
CacheObject val,
boolean create,
boolean touch) |
boolean |
GridDhtPartitionTopology.rebalanceFinished(AffinityTopologyVersion topVer) |
boolean |
GridClientPartitionTopology.rebalanceFinished(AffinityTopologyVersion topVer) |
protected ClusterTopologyServerNotFoundException |
CacheDistributedGetFutureAdapter.serverNotFoundError(AffinityTopologyVersion topVer) |
protected boolean |
GridDhtTxRemote.updateNearCache(GridCacheContext cacheCtx,
KeyCacheObject key,
AffinityTopologyVersion topVer)
Checks whether near cache should be updated.
|
protected boolean |
GridDhtTxLocal.updateNearCache(GridCacheContext cacheCtx,
KeyCacheObject key,
AffinityTopologyVersion topVer)
Checks whether near cache should be updated.
|
IgniteBiTuple<GridCacheVersion,CacheObject> |
GridDhtCacheEntry.versionedValue(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridDhtAffinityAssignmentRequest(int cacheId,
AffinityTopologyVersion topVer) |
GridDhtAffinityAssignmentResponse(int cacheId,
AffinityTopologyVersion topVer,
List<List<ClusterNode>> affAssignment,
boolean sndNodeIds) |
GridDhtAssignmentFetchFuture(GridCacheSharedContext ctx,
String cacheName,
AffinityTopologyVersion topVer) |
GridDhtCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
Map<KeyCacheObject,Boolean> keys,
boolean readThrough,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridDhtGetSingleFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
KeyCacheObject key,
Boolean addRdr,
boolean readThrough,
IgniteTxLocalEx tx,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals) |
GridDhtLockFuture(GridCacheContext<?,?> cctx,
UUID nearNodeId,
GridCacheVersion nearLockVer,
AffinityTopologyVersion topVer,
int cnt,
boolean read,
boolean needReturnVal,
long timeout,
GridDhtTxLocalAdapter tx,
long threadId,
long accessTtl,
CacheEntryPredicate[] filter,
boolean skipStore,
boolean keepBinary) |
GridDhtLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion lockVer,
AffinityTopologyVersion topVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipStore,
boolean keepBinary,
boolean addDepInfo) |
GridDhtOffHeapCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
GridDhtPartitionsReservation(AffinityTopologyVersion topVer,
GridCacheContext<?,?> cctx,
Object appKey) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
boolean retVal,
boolean waitRemoteTxs) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
boolean syncCommit,
boolean syncRollback,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
Collection<Long> updateIdxs,
boolean retVal,
boolean waitRemoteTxs) |
GridDhtTxLocal(GridCacheSharedContext cctx,
AffinityTopologyVersion topVer,
UUID nearNodeId,
GridCacheVersion nearXidVer,
IgniteUuid nearFutId,
IgniteUuid nearMiniId,
long nearThreadId,
boolean implicit,
boolean implicitSingle,
boolean sys,
boolean explicitLock,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
long timeout,
boolean invalidate,
boolean storeEnabled,
boolean onePhaseCommit,
int txSize,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash) |
GridDhtTxPrepareRequest(IgniteUuid futId,
IgniteUuid miniId,
AffinityTopologyVersion topVer,
GridDhtTxLocalAdapter tx,
long timeout,
Collection<IgniteTxEntry> dhtWrites,
Collection<IgniteTxEntry> nearWrites,
Map<UUID,Collection<UUID>> txNodes,
GridCacheVersion nearXidVer,
boolean last,
boolean onePhaseCommit,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
boolean retVal) |
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
GridCacheVersion nearXidVer,
Map<UUID,Collection<UUID>> txNodes,
UUID subjId,
int taskNameHash,
boolean single)
This constructor is meant for optimistic transactions.
|
GridDhtTxRemote(GridCacheSharedContext ctx,
UUID nearNodeId,
IgniteUuid rmtFutId,
UUID nodeId,
GridCacheVersion nearXidVer,
AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
GridDhtUnreservedPartitionException(int part,
AffinityTopologyVersion topVer,
String msg) |
GridPartitionedGetFuture(GridCacheContext<K,V> cctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializeBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean canRemap,
boolean needVer,
boolean keepCacheObjects) |
GridPartitionedSingleGetFuture(GridCacheContext cctx,
KeyCacheObject key,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean forcePrimary,
UUID subjId,
String taskName,
boolean deserializeBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean canRemap,
boolean needVer,
boolean keepCacheObjects) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridNearAtomicAbstractUpdateFuture.mapErrTopVer
Topology version when got mapping error.
|
protected AffinityTopologyVersion |
GridNearAtomicAbstractUpdateFuture.topVer
Current topology version.
|
protected AffinityTopologyVersion |
GridNearAtomicAbstractSingleUpdateRequest.topVer
Topology version.
|
protected AffinityTopologyVersion |
GridDhtAtomicSingleUpdateRequest.topVer
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtAtomicUpdateRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
AffinityTopologyVersion |
GridNearAtomicFullUpdateRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
AffinityTopologyVersion |
GridNearAtomicAbstractSingleUpdateRequest.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<Void> |
GridDhtAtomicAbstractUpdateFuture.completeFuture(AffinityTopologyVersion topVer)
Gets future that will be completed when it is safe when update is finished on the given version of topology.
|
IgniteInternalFuture<Void> |
GridNearAtomicSingleUpdateFuture.completeFuture(AffinityTopologyVersion topVer)
Gets future that will be completed when it is safe when update is finished on the given version of topology.
|
IgniteInternalFuture<Void> |
GridNearAtomicUpdateFuture.completeFuture(AffinityTopologyVersion topVer)
Gets future that will be completed when it is safe when update is finished on the given version of topology.
|
protected abstract GridDhtAtomicAbstractUpdateRequest |
GridDhtAtomicAbstractUpdateFuture.createRequest(ClusterNode node,
GridCacheVersion futVer,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
AffinityTopologyVersion topVer,
long ttl,
long conflictExpireTime,
GridCacheVersion conflictVer) |
protected void |
GridNearAtomicSingleUpdateFuture.map(AffinityTopologyVersion topVer) |
protected abstract void |
GridNearAtomicAbstractUpdateFuture.map(AffinityTopologyVersion topVer) |
protected void |
GridNearAtomicUpdateFuture.map(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridDhtAtomicCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
GridDhtAtomicOffHeapCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
GridDhtAtomicUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
AffinityTopologyVersion topVer,
boolean forceTransformBackups,
UUID subjId,
int taskNameHash,
Object[] invokeArgs,
boolean addDepInfo,
boolean keepBinary,
boolean skipStore)
Constructor.
|
GridNearAtomicAbstractSingleUpdateRequest(int cacheId,
UUID nodeId,
GridCacheVersion futVer,
boolean fastMap,
GridCacheVersion updateVer,
AffinityTopologyVersion topVer,
boolean topLocked,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
boolean retval,
UUID subjId,
int taskNameHash,
boolean skipStore,
boolean keepBinary,
boolean clientReq,
boolean addDepInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected GridCacheEntryEx |
GridDhtColocatedCache.entryExSafe(KeyCacheObject key,
AffinityTopologyVersion topVer) |
GridDistributedCacheEntry |
GridDhtColocatedCache.entryExx(KeyCacheObject key,
AffinityTopologyVersion topVer,
boolean allowDetached)
Gets or creates entry for given key and given topology version.
|
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializeBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean canRemap,
boolean needVer) |
IgniteInternalFuture<Map<K,V>> |
GridDhtColocatedCache.loadAsync(Collection<KeyCacheObject> keys,
boolean readThrough,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializeBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean canRemap,
boolean needVer,
boolean keepCacheObj) |
IgniteInternalFuture<Object> |
GridDhtColocatedCache.loadAsync(KeyCacheObject key,
boolean readThrough,
boolean forcePrimary,
AffinityTopologyVersion topVer,
UUID subjId,
String taskName,
boolean deserializeBinary,
IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean canRemap,
boolean needVer,
boolean keepCacheObj) |
| Constructor and Description |
|---|
GridDhtColocatedCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
GridDhtColocatedOffHeapCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
int hash,
CacheObject val) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridDhtPartitionMap2.top
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtPartitionSupplyMessageV2.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionsExchangeFuture.topologyVersion()
Gets topology version of this future.
|
AffinityTopologyVersion |
GridDhtPartitionsFullMessage.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionMap2.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionDemandMessage.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionDemander.RebalanceFuture.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionExchangeId.topologyVersion() |
AffinityTopologyVersion |
GridDhtForceKeysRequest.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
GridDhtPartitionsExchangeFuture.isCacheAdded(int cacheId,
AffinityTopologyVersion topVer) |
boolean |
GridDhtPartitionsExchangeFuture.onDone(AffinityTopologyVersion res,
Throwable err)
Callback to notify that future is finished.
|
GridDhtFuture<Object> |
GridDhtPreloader.request(Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<Object> |
GridDhtPreloader.request(GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
void |
GridDhtPartitionsFullMessage.topologyVersion(AffinityTopologyVersion topVer) |
long |
GridDhtPartitionMap2.updateSequence(long updateSeq,
AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridDhtForceKeysFuture(GridCacheContext<K,V> cctx,
AffinityTopologyVersion topVer,
Collection<KeyCacheObject> keys,
GridDhtPreloader preloader) |
GridDhtPartitionExchangeId(UUID nodeId,
int evt,
AffinityTopologyVersion topVer) |
GridDhtPartitionMap2(UUID nodeId,
long updateSeq,
AffinityTopologyVersion top,
Map<Integer,GridDhtPartitionState> m,
boolean onlyActive) |
GridDhtPartitionsFullMessage(GridDhtPartitionExchangeId id,
GridCacheVersion lastVer,
AffinityTopologyVersion topVer) |
GridDhtPreloaderAssignments(GridDhtPartitionsExchangeFuture exchFut,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridNearLockResponse.clientRemapVersion() |
AffinityTopologyVersion |
GridNearTxPrepareResponse.clientRemapVersion() |
AffinityTopologyVersion |
GridNearGetResponse.topologyVersion() |
AffinityTopologyVersion |
GridNearGetRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearTxPrepareRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearSingleGetResponse.topologyVersion() |
AffinityTopologyVersion |
GridNearTxFinishRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearLockRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearSingleGetRequest.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
GridCacheMvccCandidate |
GridNearCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
AffinityTopologyVersion topVer,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add local candidate.
|
GridCacheMvccCandidate |
GridNearCacheEntry.addNearLocal(UUID dhtNodeId,
long threadId,
GridCacheVersion ver,
AffinityTopologyVersion topVer,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle)
Add near local candidate.
|
protected IgniteInternalFuture<Boolean> |
GridNearTxLocal.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
protected GridCacheEntryEx |
GridNearTxLocal.entryEx(GridCacheContext cacheCtx,
IgniteTxKey key,
AffinityTopologyVersion topVer)
Gets cache entry for given key and topology version.
|
GridCacheMapEntry |
GridNearCacheAdapter.entryEx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
GridNearCacheEntry |
GridNearCacheAdapter.entryExx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
protected boolean |
GridNearTransactionalCache.evictNearEntry(GridCacheEntryEx e,
GridCacheVersion obsoleteVer,
AffinityTopologyVersion topVer) |
void |
GridNearGetFuture.init(AffinityTopologyVersion topVer)
Initializes future.
|
void |
GridNearCacheEntry.initializeFromDht(AffinityTopologyVersion topVer) |
void |
GridNearGetResponse.invalidPartitions(Collection<Integer> invalidParts,
AffinityTopologyVersion topVer) |
protected boolean |
GridNearTransactionalCache.isNearLocallyMapped(GridCacheEntryEx e,
AffinityTopologyVersion topVer) |
boolean |
GridNearCacheEntry.loadedValue(IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
long ttl,
long expireTime,
boolean evt,
boolean keepBinary,
AffinityTopologyVersion topVer,
UUID subjId) |
IgniteInternalFuture<Void> |
GridNearTxLocal.loadMissing(GridCacheContext cacheCtx,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean async,
Collection<KeyCacheObject> keys,
boolean skipVals,
boolean needVer,
boolean keepBinary,
GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c) |
void |
GridNearTxLocal.onRemap(AffinityTopologyVersion topVer) |
protected void |
GridNearCacheEntry.recordNodeId(UUID primaryNodeId,
AffinityTopologyVersion topVer) |
boolean |
GridNearCacheEntry.resetFromPrimary(CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
UUID primaryNodeId,
AffinityTopologyVersion topVer)
This method should be called only when lock is owned on this entry.
|
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
CacheObject val,
long expireTime,
long ttl,
UUID primaryNodeId,
AffinityTopologyVersion topVer)
This method should be called only when lock is owned on this entry.
|
boolean |
GridNearCacheEntry.valid(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridNearGetRequest(int cacheId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion ver,
Map<KeyCacheObject,Boolean> keys,
boolean readThrough,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipVals,
boolean addDepInfo) |
GridNearLockRequest(int cacheId,
AffinityTopologyVersion topVer,
UUID nodeId,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean implicitTx,
boolean implicitSingleTx,
boolean isRead,
boolean retVal,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean syncCommit,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipStore,
boolean keepBinary,
boolean firstClientReq,
boolean addDepInfo) |
GridNearLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
IgniteUuid miniId,
boolean filterRes,
int cnt,
Throwable err,
AffinityTopologyVersion clientRemapVer,
boolean addDepInfo) |
GridNearSingleGetRequest(int cacheId,
long futId,
KeyCacheObject key,
boolean readThrough,
AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipVals,
boolean addReader,
boolean needVer,
boolean addDepInfo) |
GridNearSingleGetResponse(int cacheId,
long futId,
AffinityTopologyVersion topVer,
Message res,
boolean invalidPartitions,
boolean addDepInfo) |
GridNearTxFinishRequest(IgniteUuid futId,
GridCacheVersion xidVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
CacheWriteSynchronizationMode syncMode,
boolean explicitLock,
boolean storeEnabled,
AffinityTopologyVersion topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
UUID subjId,
int taskNameHash,
boolean addDepInfo) |
GridNearTxPrepareRequest(IgniteUuid futId,
AffinityTopologyVersion topVer,
IgniteInternalTx tx,
long timeout,
Collection<IgniteTxEntry> reads,
Collection<IgniteTxEntry> writes,
boolean near,
Map<UUID,Collection<UUID>> txNodes,
boolean last,
boolean onePhaseCommit,
boolean retVal,
boolean implicitSingle,
boolean explicitLock,
UUID subjId,
int taskNameHash,
boolean firstClientReq,
boolean addDepInfo) |
GridNearTxPrepareResponse(GridCacheVersion xid,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion dhtVer,
GridCacheVersion writeVer,
GridCacheReturn retVal,
Throwable err,
AffinityTopologyVersion clientRemapVer,
boolean addDepInfo) |
GridNearTxRemote(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer,
ClassLoader ldr,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
Collection<IgniteTxEntry> writeEntries,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for optimistic transactions.
|
GridNearTxRemote(GridCacheSharedContext ctx,
AffinityTopologyVersion topVer,
UUID nodeId,
UUID nearNodeId,
GridCacheVersion nearXidVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
boolean sys,
byte plc,
TransactionConcurrency concurrency,
TransactionIsolation isolation,
boolean invalidate,
long timeout,
int txSize,
UUID subjId,
int taskNameHash)
This constructor is meant for pessimistic transactions.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left)
Process partitions exchange event.
|
void |
GridOsCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left)
Process partitions exchange event.
|
void |
GridCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType,
AffinityTopologyVersion topVer)
Performs replication.
|
void |
GridOsCacheDrManager.replicate(KeyCacheObject key,
CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType,
AffinityTopologyVersion topVer)
Performs replication.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridCacheQueryManager.queryTopologyVersion() |
AffinityTopologyVersion |
GridCacheQueryRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
| Constructor and Description |
|---|
GridCacheQueryRequest(int cacheId,
long id,
boolean fields,
AffinityTopologyVersion topVer,
boolean addDepInfo)
Creates cancel query request.
|
GridCacheQueryRequest(int cacheId,
long id,
String cacheName,
GridCacheQueryType type,
boolean fields,
String clause,
String clsName,
IgniteBiPredicate<Object,Object> keyValFilter,
Integer part,
IgniteReducer<Object,Object> rdc,
IgniteClosure<?,?> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta,
boolean keepBinary,
UUID subjId,
int taskHash,
AffinityTopologyVersion topVer,
boolean addDepInfo) |
GridCacheQueryRequest(int cacheId,
long id,
String cacheName,
int pageSize,
boolean incBackups,
boolean fields,
boolean all,
boolean keepBinary,
UUID subjId,
int taskHash,
AffinityTopologyVersion topVer,
boolean addDepInfo)
Request to load page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheContinuousQueryManager.beforeExchange(AffinityTopologyVersion topVer) |
void |
CacheContinuousQueryListener.flushBackupQueue(GridKernalContext ctx,
AffinityTopologyVersion topVer)
Flushes backup queue.
|
void |
CacheContinuousQueryManager.onEntryUpdated(KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
boolean internal,
int partId,
boolean primary,
boolean preload,
long updateCntr,
GridDhtAtomicAbstractUpdateFuture fut,
AffinityTopologyVersion topVer) |
void |
CacheContinuousQueryManager.onEntryUpdated(Map<UUID,CacheContinuousQueryListener> lsnrCol,
KeyCacheObject key,
CacheObject newVal,
CacheObject oldVal,
boolean internal,
int partId,
boolean primary,
boolean preload,
long updateCntr,
GridDhtAtomicAbstractUpdateFuture fut,
AffinityTopologyVersion topVer) |
void |
CacheContinuousQueryListener.skipUpdateEvent(org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryEvent<K,V> evt,
AffinityTopologyVersion topVer,
boolean primary) |
void |
CacheContinuousQueryManager.skipUpdateEvent(Map<UUID,CacheContinuousQueryListener> lsnrs,
KeyCacheObject key,
int partId,
long updCntr,
boolean primary,
AffinityTopologyVersion topVer) |
void |
CacheContinuousQueryHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,Long>> cntrsPerNode,
Map<Integer,Long> cntrs) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
IgniteTxAdapter.topVer
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
IgniteTxManager.lockedTopologyVersion(long threadId,
IgniteInternalTx ignore) |
AffinityTopologyVersion |
IgniteInternalTx.topologyVersion() |
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion() |
AffinityTopologyVersion |
IgniteInternalTx.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteInternalTx.topologyVersionSnapshot() |
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersionSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
protected GridCacheEntryEx |
IgniteTxLocalAdapter.entryEx(GridCacheContext cacheCtx,
IgniteTxKey key,
AffinityTopologyVersion topVer)
Gets cache entry for given key and topology version.
|
IgniteInternalFuture<Boolean> |
IgniteTxManager.finishTxs(AffinityTopologyVersion topVer)
Creates a future that will wait for all ongoing transactions that maybe affected by topology update
to be finished.
|
<K,V> IgniteInternalFuture<Map<K,V>> |
IgniteTxLocalEx.getAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Collection<KeyCacheObject> keys,
boolean deserializeBinary,
boolean skipVals,
boolean keepCacheObjects,
boolean skipStore,
boolean needVer) |
<K,V> IgniteInternalFuture<Map<K,V>> |
IgniteTxLocalAdapter.getAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Collection<KeyCacheObject> keys,
boolean deserializeBinary,
boolean skipVals,
boolean keepCacheObjects,
boolean skipStore,
boolean needVer) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.invokeAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
K key,
javax.cache.processor.EntryProcessor<K,V,Object> entryProcessor,
Object... invokeArgs) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.invokeAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
K key,
javax.cache.processor.EntryProcessor<K,V,Object> entryProcessor,
Object... invokeArgs) |
<K,V,T> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.invokeAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map,
Object... invokeArgs) |
<K,V,T> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.invokeAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map,
Object... invokeArgs) |
IgniteInternalFuture<Void> |
IgniteTxLocalEx.loadMissing(GridCacheContext cacheCtx,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean async,
Collection<KeyCacheObject> keys,
boolean skipVals,
boolean needVer,
boolean keepBinary,
GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c) |
IgniteInternalFuture<Void> |
IgniteTxLocalAdapter.loadMissing(GridCacheContext cacheCtx,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean async,
Collection<KeyCacheObject> keys,
boolean skipVals,
boolean needVer,
boolean keepBinary,
GridInClosure3<KeyCacheObject,Object,GridCacheVersion> c) |
boolean |
IgniteTxManager.needWaitTransaction(IgniteInternalTx tx,
AffinityTopologyVersion topVer) |
void |
IgniteInternalTx.onRemap(AffinityTopologyVersion topVer) |
void |
IgniteTxAdapter.onRemap(AffinityTopologyVersion topVer) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.putAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Map<? extends K,? extends V> map,
boolean retval) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.putAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Map<? extends K,? extends V> map,
boolean retval) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.putAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
K key,
V val,
boolean retval,
CacheEntryPredicate filter) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.putAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
K key,
V val,
boolean retval,
CacheEntryPredicate filter) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalEx.removeAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Collection<? extends K> keys,
boolean retval,
CacheEntryPredicate filter,
boolean singleRmv) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
IgniteTxLocalAdapter.removeAllAsync(GridCacheContext cacheCtx,
AffinityTopologyVersion entryTopVer,
Collection<? extends K> keys,
boolean retval,
CacheEntryPredicate filter,
boolean singleRmv) |
boolean |
IgniteTxManager.setTxTopologyHint(AffinityTopologyVersion topVer) |
AffinityTopologyVersion |
IgniteInternalTx.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
protected boolean |
IgniteTxAdapter.updateNearCache(GridCacheContext<?,?> cacheCtx,
KeyCacheObject key,
AffinityTopologyVersion topVer)
Checks whether near cache should be updated.
|
| Modifier and Type | Method and Description |
|---|---|
GridCacheVersion |
GridCacheVersionManager.next(AffinityTopologyVersion topVer)
Gets next version based on given topology version.
|
GridCacheVersion |
GridCacheVersionManager.nextForLoad(AffinityTopologyVersion topVer)
Gets next version for cache store load and reload operations.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
AffinityTask.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridContinuousHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,Long>> cntrsPerNode,
Map<Integer,Long> cntrs) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DataStreamerRequest.topologyVersion() |
| Constructor and Description |
|---|
DataStreamerRequest(long reqId,
byte[] resTopicBytes,
String cacheName,
byte[] updaterBytes,
Collection<DataStreamerEntry> entries,
boolean ignoreDepOwnership,
boolean skipStore,
boolean keepBinary,
DeploymentMode depMode,
String sampleClsName,
String userVer,
Map<UUID,IgniteUuid> ldrParticipants,
IgniteUuid clsLdrId,
boolean forceLocDep,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
static AffinityTopologyVersion |
GridQueryProcessor.getRequestAffinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
IndexingQueryFilter |
GridQueryIndexing.backupFilter(AffinityTopologyVersion topVer,
int[] parts)
Returns backup filter.
|
static void |
GridQueryProcessor.setRequestAffinityTopologyVersion(AffinityTopologyVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridQueryNextPageResponse.retry() |
AffinityTopologyVersion |
GridQueryRequest.topologyVersion()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridQueryNextPageResponse.retry(AffinityTopologyVersion retry) |
| Constructor and Description |
|---|
GridQueryRequest(long reqId,
int pageSize,
String space,
Collection<GridCacheSqlQuery> qrys,
AffinityTopologyVersion topVer,
List<String> extraSpaces,
int[] parts,
int timeout)
Deprecated.
|
Follow @ApacheIgnite
Ignite Fabric : ver. 1.8.0 Release Date : December 5 2016