| 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 |
IgniteDiagnosticPrepareContext.exchangeInfo(UUID nodeId,
AffinityTopologyVersion topVer,
String msg) |
void |
GridMessageListenHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,T2<Long,Long>>> cntrsPerNode,
Map<Integer,T2<Long,Long>> cntrs) |
| Constructor and Description |
|---|
GridJobExecuteRequest(IgniteUuid sesId,
IgniteUuid jobId,
String taskName,
String userVer,
String taskClsName,
byte[] jobBytes,
ComputeJob job,
long startTaskTime,
long timeout,
@Nullable Collection<UUID> top,
@Nullable IgnitePredicate<ClusterNode> topPred,
byte[] topPredBytes,
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,
@Nullable int[] cacheIds,
int part,
@Nullable AffinityTopologyVersion topVer,
@Nullable String execName) |
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 |
ClientCacheAffinityMapping.topologyVersion()
Gets topology version.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ClientCacheAffinityContext.updateLastTopologyVersion(AffinityTopologyVersion topVer,
UUID nodeId)
Update topology version if it's greater than current version and store nodes for last topology.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DirectMessageReader.readAffinityTopologyVersion(String name)
Reads
AffinityTopologyVersion. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
DirectMessageWriter.writeAffinityTopologyVersion(String name,
AffinityTopologyVersion val)
Writes
AffinityTopologyVersion. |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DirectByteBufferStream.readAffinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectByteBufferStream.writeAffinityTopologyVersion(AffinityTopologyVersion val) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DirectByteBufferStreamImplV1.readAffinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectByteBufferStreamImplV1.writeAffinityTopologyVersion(AffinityTopologyVersion val) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DirectByteBufferStreamImplV2.readAffinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectByteBufferStreamImplV2.writeAffinityTopologyVersion(AffinityTopologyVersion val) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DirectByteBufferStreamImplV3.readAffinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
DirectByteBufferStreamImplV3.writeAffinityTopologyVersion(AffinityTopologyVersion val) |
| 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 |
AffinityCache.version() |
| Constructor and Description |
|---|
AffinityCache(AffinityTopologyVersion ver)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DiscoveryLocalJoinData.joinTopologyVersion() |
AffinityTopologyVersion |
GridDiscoveryManager.topologyVersionEx() |
AffinityTopologyVersion |
DiscoCache.version() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable List<? extends BaselineNode> |
GridDiscoveryManager.baselineNodes(AffinityTopologyVersion topVer) |
Collection<ClusterNode> |
GridDiscoveryManager.cacheGroupAffinityNodes(int grpId,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given ID that participate in affinity calculation.
|
List<ClusterNode> |
GridDiscoveryManager.cacheNodes(@Nullable String cacheName,
AffinityTopologyVersion topVer)
Gets cache nodes for cache with given name.
|
Map<UUID,Short> |
GridDiscoveryManager.consistentId(AffinityTopologyVersion topVer)
Gets consistentId from history for given topology version.
|
DiscoCache |
DiscoCache.copy(AffinityTopologyVersion ver,
@Nullable DiscoveryDataClusterState state) |
DiscoCache |
DiscoveryCustomMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
GridDiscoveryManager.createDiscoCacheOnCacheChange(AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates discovery cache after
DynamicCacheChangeBatch received. |
DiscoCache |
GridDiscoveryManager.discoCache(AffinityTopologyVersion topVer)
Gets discovery collection cache from SPI safely guarding against "floating" collections.
|
short |
ConsistentIdMapper.mapToCompactId(AffinityTopologyVersion topVer,
UUID nodeId)
Maps UUID to compact ID for given baseline topology.
|
Map<Short,Collection<Short>> |
ConsistentIdMapper.mapToCompactIds(AffinityTopologyVersion topVer,
@Nullable Map<UUID,Collection<UUID>> txNodes,
BaselineTopology baselineTop)
Map primary -> backup node compact ID accordingly to baseline topology..
|
UUID |
ConsistentIdMapper.mapToUuid(AffinityTopologyVersion topVer,
short nodeConstId)
Maps UUID to compact ID for given baseline topology.
|
ClusterNode |
GridDiscoveryManager.node(AffinityTopologyVersion topVer,
UUID id)
Gets node from history for given topology version.
|
Map<Short,UUID> |
GridDiscoveryManager.nodeIdMap(AffinityTopologyVersion topVer)
Gets consistentId from history for given topology version.
|
Collection<ClusterNode> |
GridDiscoveryManager.nodes(AffinityTopologyVersion topVer)
Gets all nodes for given topology version.
|
@Nullable ClusterNode |
GridDiscoveryManager.oldestAliveServerNode(AffinityTopologyVersion topVer) |
void |
CustomEventListener.onCustomEvent(AffinityTopologyVersion topVer,
ClusterNode snd,
T msg) |
Collection<ClusterNode> |
GridDiscoveryManager.remoteAliveNodesWithCaches(AffinityTopologyVersion topVer)
Gets cache remote nodes for cache with given name.
|
List<ClusterNode> |
GridDiscoveryManager.serverNodes(AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable AffinityTopologyVersion |
GridFailoverContextImpl.affinityTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
ClusterNode |
GridFailoverManager.failover(GridTaskSessionImpl taskSes,
ComputeJobResult jobRes,
List<ClusterNode> top,
int affPartId,
@Nullable String affCacheName,
@Nullable AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridFailoverContextImpl(GridTaskSessionImpl taskSes,
ComputeJobResult jobRes,
GridLoadBalancerManager loadMgr,
int partId,
@Nullable String affCacheName,
@Nullable 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 |
AffinityTopologyVersion.nextMinorVersion() |
AffinityTopologyVersion |
GridAffinityAssignment.topologyVersion()
Deprecated.
|
AffinityTopologyVersion |
IdealAffinityAssignment.topologyVersion() |
AffinityTopologyVersion |
HistoryAffinityAssignmentShallowCopy.topologyVersion() |
AffinityTopologyVersion |
GridAffinityAssignmentV2.topologyVersion() |
AffinityTopologyVersion |
AffinityAssignment.topologyVersion() |
AffinityTopologyVersion |
HistoryAffinityAssignmentImpl.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
Collection<AffinityTopologyVersion> |
GridAffinityAssignmentCache.cachedVersions() |
| Modifier and Type | Method and Description |
|---|---|
IgniteInternalFuture<org.apache.ignite.internal.processors.affinity.GridAffinityProcessor.AffinityInfo> |
GridAffinityProcessor.affinityCacheFuture(String cacheName,
@Nullable AffinityTopologyVersion topVer) |
boolean |
AffinityTopologyVersion.after(AffinityTopologyVersion topVer) |
List<List<ClusterNode>> |
GridAffinityAssignmentCache.assignments(AffinityTopologyVersion topVer) |
Set<Integer> |
GridAffinityAssignmentCache.backupPartitions(UUID nodeId,
AffinityTopologyVersion topVer)
Get backup partitions for specified node ID.
|
boolean |
AffinityTopologyVersion.before(AffinityTopologyVersion topVer) |
AffinityAssignment |
GridAffinityAssignmentCache.cachedAffinity(AffinityTopologyVersion topVer)
Get cached affinity for specified topology version.
|
AffinityAssignment |
GridAffinityAssignmentCache.cachedAffinity(AffinityTopologyVersion topVer,
AffinityTopologyVersion lastAffChangeTopVer)
Get cached affinity for specified topology version.
|
IdealAffinityAssignment |
GridAffinityAssignmentCache.calculate(AffinityTopologyVersion topVer,
@Nullable ExchangeDiscoveryEvents events,
@Nullable DiscoCache discoCache)
Calculates ideal assignment for given topology version and events happened since last calculation.
|
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) |
static IdealAffinityAssignment |
IdealAffinityAssignment.create(AffinityTopologyVersion topVer,
@Nullable List<ClusterNode> nodes,
List<List<ClusterNode>> assignment) |
static IdealAffinityAssignment |
IdealAffinityAssignment.create(AffinityTopologyVersion topVer,
List<List<ClusterNode>> assignment) |
static IdealAffinityAssignment |
IdealAffinityAssignment.createWithPreservedPrimaries(AffinityTopologyVersion topVer,
List<List<ClusterNode>> assignment,
IdealAffinityAssignment previousAssignment) |
void |
GridAffinityAssignmentCache.idealAssignment(AffinityTopologyVersion topVer,
List<List<ClusterNode>> assignment) |
void |
GridAffinityAssignmentCache.initialize(AffinityTopologyVersion topVer,
List<List<ClusterNode>> affAssignment)
Initializes affinity with given topology version and assignment.
|
boolean |
AffinityTopologyVersion.isBetween(AffinityTopologyVersion lower,
AffinityTopologyVersion upper) |
<K> @Nullable 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.
|
@Nullable 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.
|
Set<Integer> |
GridAffinityAssignmentCache.partitionPrimariesDifferentToIdeal(AffinityTopologyVersion topVer) |
boolean |
GridAffinityAssignmentCache.primaryChanged(int part,
AffinityTopologyVersion startVer,
AffinityTopologyVersion endVer) |
Set<Integer> |
GridAffinityAssignmentCache.primaryPartitions(UUID nodeId,
AffinityTopologyVersion topVer)
Get primary partitions for specified node ID.
|
AffinityAssignment |
GridAffinityAssignmentCache.readyAffinity(AffinityTopologyVersion topVer) |
List<List<ClusterNode>> |
GridAffinityAssignmentCache.readyAssignments(AffinityTopologyVersion topVer) |
@Nullable IgniteInternalFuture<AffinityTopologyVersion> |
GridAffinityAssignmentCache.readyFuture(AffinityTopologyVersion topVer)
Gets future that will be completed after topology with version
topVer is calculated. |
void |
GridAffinityProcessor.removeCachedAffinity(AffinityTopologyVersion topVer)
Removes cached affinity instances with affinity topology versions less than
topVer. |
| Constructor and Description |
|---|
GridAffinityAssignmentV2(AffinityTopologyVersion topVer,
List<List<ClusterNode>> assignment,
List<List<ClusterNode>> idealAssignment) |
GridAffinityFunctionContextImpl(List<ClusterNode> topSnapshot,
List<List<ClusterNode>> prevAssignment,
DiscoveryEvent discoEvt,
@NotNull AffinityTopologyVersion topVer,
int backups) |
HistoryAffinityAssignmentShallowCopy(HistoryAffinityAssignment histAssignment,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
UserProposedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
UserAcceptedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridCacheAdapter.TopologyVersionAwareJob.topVer
Affinity topology version.
|
| 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.
|
| 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.
|
void |
CacheAffinitySharedManager.addToWaitGroup(int grpId,
int part,
AffinityTopologyVersion topVer,
List<ClusterNode> assignment)
Adds historically rebalancing partitions to wait group.
|
boolean |
GridCachePartitionExchangeManager.affinityChanged(AffinityTopologyVersion from,
AffinityTopologyVersion to) |
static Collection<ClusterNode> |
GridCacheUtils.affinityNodes(GridCacheContext ctx,
AffinityTopologyVersion topVer)
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.
|
@NotNull IgniteInternalFuture<AffinityTopologyVersion> |
GridCachePartitionExchangeManager.affinityReadyFuture(AffinityTopologyVersion ver) |
@Nullable IgniteInternalFuture<AffinityTopologyVersion> |
GridCacheAffinityManager.affinityReadyFuturex(AffinityTopologyVersion topVer)
Gets affinity ready future that will be completed after affinity with given topology version is calculated.
|
AffinityAssignment |
GridCacheAffinityManager.assignment(AffinityTopologyVersion topVer)
Get affinity assignment for the given topology version.
|
AffinityAssignment |
GridCacheAffinityManager.assignment(AffinityTopologyVersion topVer,
AffinityTopologyVersion lastAffChangedTopVer)
Get affinity assignment for the given topology version.
|
List<List<ClusterNode>> |
GridCacheAffinityManager.assignments(AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.backupByPartition(ClusterNode n,
int part,
AffinityTopologyVersion topVer) |
Set<Integer> |
GridCacheAffinityManager.backupPartitions(UUID nodeId,
AffinityTopologyVersion topVer) |
Collection<ClusterNode> |
GridCacheAffinityManager.backupsByKey(Object key,
AffinityTopologyVersion topVer) |
long |
IgniteCacheOffheapManager.cacheEntriesCount(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
long |
IgniteCacheOffheapManagerImpl.cacheEntriesCount(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer) |
<K,V> GridCloseableIterator<javax.cache.Cache.Entry<K,V>> |
IgniteCacheOffheapManager.cacheEntriesIterator(GridCacheContext cctx,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
boolean keepBinary,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
<K,V> GridCloseableIterator<javax.cache.Cache.Entry<K,V>> |
IgniteCacheOffheapManagerImpl.cacheEntriesIterator(GridCacheContext cctx,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
boolean keepBinary,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
GridIterator<CacheDataRow> |
IgniteCacheOffheapManager.cacheIterator(int cacheId,
boolean primary,
boolean backup,
AffinityTopologyVersion topVer,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
GridIterator<CacheDataRow> |
IgniteCacheOffheapManagerImpl.cacheIterator(int cacheId,
boolean primary,
boolean backups,
AffinityTopologyVersion topVer,
@Nullable MvccSnapshot mvccSnapshot,
Boolean dataPageScanEnabled) |
void |
WalStateManager.changeLocalStatesOnExchangeDone(AffinityTopologyVersion topVer,
boolean changedBaseline)
Change local WAL state before exchange is done.
|
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.
|
void |
GridCacheProcessor.completeProxyRestart(Map<String,DynamicCacheChangeRequest> reqs,
AffinityTopologyVersion initVer,
AffinityTopologyVersion doneVer) |
GridCacheMapEntry |
GridCacheMapEntryFactory.create(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key) |
static @Nullable GridCacheUtils.BackupPostProcessingClosure |
GridCacheUtils.createBackupPostProcessingClosure(AffinityTopologyVersion topVer,
IgniteLogger log,
GridCacheContext cctx,
@Nullable KeyCacheObject key,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean readThrough,
boolean skipVals)
Creates closure that saves initial value to backup partition.
|
DiscoCache |
CacheStatisticsModeChangeMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
WalStateAbstractMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
DynamicCacheChangeBatch.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
ClientCacheChangeDiscoveryMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
TxTimeoutOnPartitionMapExchangeChangeMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
CacheAffinityChangeMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
DynamicCacheChangeFailureMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
ClientCacheChangeDummyDiscoveryMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
CacheStatisticsClearMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
void |
GridCacheContext.dhtMap(UUID nearNodeId,
AffinityTopologyVersion topVer,
GridDhtCacheEntry entry,
GridCacheVersion explicitLockVer,
IgniteLogger log,
Map<ClusterNode,List<GridDhtCacheEntry>> dhtMap,
@Nullable Map<ClusterNode,List<GridDhtCacheEntry>> nearMap) |
GridCacheEntryEx |
GridCacheAdapter.entryEx(KeyCacheObject key,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheMvccManager.finishAtomicUpdates(AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheMvccManager.finishDataStreamerUpdates(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) |
void |
GridCacheContext.finishRecovery(AffinityTopologyVersion topVer,
DynamicCacheDescriptor clusterWideDesc)
Called when cache was restored during recovery and node has joined to topology.
|
void |
CacheGroupContext.finishRecovery(AffinityTopologyVersion startVer,
UUID originalReceivedFrom,
boolean affinityNode)
Finishes recovery for current cache group.
|
IgniteInternalFuture<?> |
GridCacheMvccManager.finishRemoteTxs(AffinityTopologyVersion topVer)
Creates a future that will wait for finishing all remote transactions (primary -> backup)
with topology version less or equal to
topVer. |
default 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
|
default boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
@Nullable MvccVersion mvccVer,
@Nullable MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore)
Sets new value if current version is 0
|
boolean |
GridCacheMapEntry.initialValue(CacheObject val,
GridCacheVersion ver,
MvccVersion mvccVer,
MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore,
CacheDataRow row)
Sets new value if current version is 0
|
boolean |
GridCacheEntryEx.initialValue(CacheObject val,
GridCacheVersion ver,
@Nullable MvccVersion mvccVer,
@Nullable MvccVersion newMvccVer,
byte mvccTxState,
byte newMvccTxState,
long ttl,
long expireTime,
boolean preload,
AffinityTopologyVersion topVer,
GridDrType drType,
boolean fromStore,
@Nullable CacheDataRow row)
Sets new value if current version is 0
|
GridCacheUpdateTxResult |
GridCacheMapEntry.innerRemove(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerRemove(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
boolean retval,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheMapEntry.innerSet(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateTxResult |
GridCacheEntryEx.innerSet(@Nullable IgniteInternalTx tx,
UUID evtNodeId,
UUID affNodeId,
@Nullable CacheObject val,
boolean writeThrough,
boolean retval,
long ttl,
boolean evt,
boolean metrics,
boolean keepBinary,
boolean oldValPresent,
@Nullable CacheObject oldVal,
AffinityTopologyVersion topVer,
CacheEntryPredicate[] filter,
GridDrType drType,
long drExpireTime,
@Nullable GridCacheVersion explicitVer,
@Nullable UUID subjId,
String taskName,
@Nullable GridCacheVersion dhtVer,
@Nullable Long updateCntr) |
GridCacheUpdateAtomicResult |
GridCacheMapEntry.innerUpdate(GridCacheVersion newVer,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
@Nullable Object writeObj,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean verCheck,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long explicitTtl,
long explicitExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
@Nullable UUID subjId,
String taskName,
@Nullable CacheObject prevVal,
@Nullable Long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
boolean transformOp) |
GridCacheUpdateAtomicResult |
GridCacheEntryEx.innerUpdate(GridCacheVersion ver,
UUID evtNodeId,
UUID affNodeId,
GridCacheOperation op,
@Nullable Object val,
@Nullable Object[] invokeArgs,
boolean writeThrough,
boolean readThrough,
boolean retval,
boolean keepBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean evt,
boolean metrics,
boolean primary,
boolean checkVer,
AffinityTopologyVersion topVer,
@Nullable CacheEntryPredicate[] filter,
GridDrType drType,
long conflictTtl,
long conflictExpireTime,
@Nullable GridCacheVersion conflictVer,
boolean conflictResolve,
boolean intercept,
@Nullable UUID subjId,
String taskName,
@Nullable CacheObject prevVal,
@Nullable Long updateCntr,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
boolean transformOp) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
IgniteInternalCache.invoke(@Nullable AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
GridCacheProxyImpl.invoke(AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> @Nullable javax.cache.processor.EntryProcessorResult<T> |
GridCacheAdapter.invoke(@Nullable AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
<T> T |
IgniteCacheProxyImpl.invoke(@Nullable AffinityTopologyVersion topVer,
K key,
javax.cache.processor.EntryProcessor<K,V,T> entryProcessor,
Object... args) |
boolean |
GridCacheAffinityManager.keyLocalNode(Object key,
AffinityTopologyVersion topVer) |
void |
GridCacheMessage.lastAffinityChangedTopologyVersion(AffinityTopologyVersion topVer)
Sets the earliest affinity topology version for which this message is valid.
|
AffinityTopologyVersion |
GridCachePartitionExchangeManager.lastAffinityChangedTopologyVersion(AffinityTopologyVersion topVer) |
boolean |
GridCachePartitionExchangeManager.lastAffinityChangedTopologyVersion(AffinityTopologyVersion topVer,
AffinityTopologyVersion lastAffTopVer) |
boolean |
GridCachePartitionExchangeManager.mergeExchangesOnCoordinator(GridDhtPartitionsExchangeFuture curFut,
@Nullable AffinityTopologyVersion threshold) |
void |
GridCachePartitionExchangeManager.mergeExchangesTestWaitVersion(AffinityTopologyVersion exchMergeTestWaitVer,
@Nullable List mergedEvtsForTest)
For testing only.
|
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccRemove(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
boolean needHistory,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccRemove(@Nullable IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
boolean needHist,
boolean needOldValue,
@Nullable CacheEntryPredicate filter,
boolean retVal) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccSet(IgniteInternalTx tx,
UUID affNodeId,
CacheObject val,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
long ttl0,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
GridCacheOperation op,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccSet(@Nullable IgniteInternalTx tx,
UUID affNodeId,
CacheObject val,
javax.cache.processor.EntryProcessor entryProc,
Object[] invokeArgs,
long ttl0,
AffinityTopologyVersion topVer,
MvccSnapshot mvccVer,
GridCacheOperation op,
boolean needHistory,
boolean noCreate,
boolean needOldVal,
@Nullable CacheEntryPredicate filter,
boolean retVal,
boolean keepBinary) |
GridCacheUpdateTxResult |
GridCacheMapEntry.mvccUpdateRowsWithPreloadInfo(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
List<GridCacheEntryInfo> entries,
GridCacheOperation op,
MvccSnapshot mvccVer,
IgniteUuid futId,
int batchNum) |
GridCacheUpdateTxResult |
GridCacheEntryEx.mvccUpdateRowsWithPreloadInfo(IgniteInternalTx tx,
UUID affNodeId,
AffinityTopologyVersion topVer,
List<GridCacheEntryInfo> entries,
GridCacheOperation op,
MvccSnapshot mvccVer,
IgniteUuid futId,
int batchNum) |
IgniteInternalFuture<?> |
GridCacheSharedContext.nextAffinityReadyFuture(AffinityTopologyVersion curVer)
Gets ready future for the next affinity topology version (used in cases when a node leaves grid).
|
protected long |
GridCacheMapEntry.nextPartitionCounter(AffinityTopologyVersion topVer,
boolean primary,
boolean initial,
@Nullable Long primaryCntr) |
List<ClusterNode> |
GridCacheAffinityManager.nodesByKey(Object key,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridCacheAffinityManager.nodesByPartition(int part,
AffinityTopologyVersion topVer) |
boolean |
ClusterCachesInfo.onCacheChangeRequested(DynamicCacheChangeBatch batch,
AffinityTopologyVersion topVer) |
void |
ClusterCachesInfo.onCacheChangeRequested(DynamicCacheChangeFailureMessage failMsg,
AffinityTopologyVersion topVer)
Creates exchanges actions.
|
boolean |
GridCacheProcessor.onCustomEvent(DiscoveryCustomMessage msg,
AffinityTopologyVersion topVer,
ClusterNode node)
Callback invoked from discovery thread when discovery custom message is received.
|
void |
ClusterCachesInfo.onDiscoveryEvent(int type,
ClusterNode node,
AffinityTopologyVersion topVer)
Discovery event callback, executed from discovery thread.
|
void |
GridCacheProcessor.onDiscoveryEvent(int type,
@Nullable DiscoveryCustomMessage customMsg,
ClusterNode node,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState state) |
void |
GridCachePartitionExchangeManager.onExchangeDone(AffinityTopologyVersion topVer,
AffinityTopologyVersion initTopVer,
@Nullable Throwable err) |
void |
GridCacheProcessor.onExchangeDone(AffinityTopologyVersion cacheStartVer,
@Nullable ExchangeActions exchActions,
@Nullable Throwable err)
Callback invoked when first exchange future for dynamic cache is completed.
|
void |
WalStateManager.onGroupRebalanceFinished(int grpId,
AffinityTopologyVersion topVer)
Callback when group rebalancing is finished.
|
Set<Integer> |
CacheAffinitySharedManager.onLocalJoin(GridDhtPartitionsExchangeFuture fut,
Map<Integer,CacheGroupAffinityMessage> receivedAff,
AffinityTopologyVersion resTopVer) |
void |
CacheGroupContext.onPartitionCounterUpdate(int cacheId,
int part,
long cntr,
AffinityTopologyVersion topVer,
boolean primary) |
ExchangeActions |
GridCacheProcessor.onStateChangeRequest(ChangeGlobalStateMessage msg,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState curState) |
ExchangeActions |
ClusterCachesInfo.onStateChangeRequest(ChangeGlobalStateMessage msg,
AffinityTopologyVersion topVer,
DiscoveryDataClusterState curState) |
abstract IgniteInternalFuture<T> |
GridCacheAdapter.AsyncOp.op(GridNearTxLocal tx,
AffinityTopologyVersion readyTopVer) |
boolean |
GridCacheAffinityManager.partitionBelongs(ClusterNode node,
int part,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.partitionLocalNode(int part,
AffinityTopologyVersion topVer) |
IgniteInternalFuture<?> |
GridCacheSharedContext.partitionRecoveryFuture(AffinityTopologyVersion topVer,
ClusterNode node)
Captures all prepared operations that we need to wait before we able to perform PME-free switch.
|
IgniteInternalFuture<?> |
GridCacheSharedContext.partitionReleaseFuture(AffinityTopologyVersion topVer)
Captures all ongoing operations that we need to wait before we can proceed to the next topology version.
|
@Nullable CacheObject |
GridCacheMapEntry.peek(boolean heap,
boolean offheap,
AffinityTopologyVersion topVer,
@Nullable IgniteCacheExpiryPolicy expiryPlc)
Peeks into entry without loading value or updating statistics.
|
@Nullable CacheObject |
GridCacheEntryEx.peek(boolean heap,
boolean offheap,
AffinityTopologyVersion topVer,
@Nullable IgniteCacheExpiryPolicy plc)
Peeks into entry without loading value or updating statistics.
|
void |
GridCacheProcessor.prepareCacheStart(DynamicCacheDescriptor desc,
@Nullable NearCacheConfiguration reqNearCfg,
AffinityTopologyVersion exchTopVer,
boolean disabledAfterStart,
boolean clientCache) |
boolean |
GridCacheAffinityManager.primaryByKey(ClusterNode n,
Object key,
AffinityTopologyVersion topVer) |
@Nullable ClusterNode |
GridCacheAffinityManager.primaryByKey(Object key,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.primaryByPartition(ClusterNode n,
int part,
AffinityTopologyVersion topVer) |
@Nullable ClusterNode |
GridCacheAffinityManager.primaryByPartition(int part,
AffinityTopologyVersion topVer) |
boolean |
GridCacheAffinityManager.primaryChanged(int part,
AffinityTopologyVersion startVer,
AffinityTopologyVersion endVer) |
Set<Integer> |
GridCacheAffinityManager.primaryPartitions(UUID nodeId,
AffinityTopologyVersion topVer) |
protected GridCacheMapEntry |
GridCacheConcurrentMapImpl.putEntryIfObsoleteOrAbsent(@Nullable GridCacheConcurrentMap.CacheMapHolder hld,
GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
boolean create,
boolean touch) |
@Nullable GridCacheMapEntry |
GridCacheConcurrentMapImpl.putEntryIfObsoleteOrAbsent(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
boolean create,
boolean touch) |
@Nullable GridCacheMapEntry |
GridCacheConcurrentMap.putEntryIfObsoleteOrAbsent(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
boolean create,
boolean touch) |
GridCacheMapEntry |
GridNoStorageCacheMap.putEntryIfObsoleteOrAbsent(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
boolean create,
boolean touch) |
IgniteRebalanceIterator |
IgniteCacheOffheapManager.rebalanceIterator(IgniteDhtDemandedPartitionsMap parts,
AffinityTopologyVersion topVer) |
IgniteRebalanceIterator |
IgniteCacheOffheapManagerImpl.rebalanceIterator(IgniteDhtDemandedPartitionsMap parts,
AffinityTopologyVersion topVer) |
boolean |
GridCachePreloaderAdapter.rebalanceRequired(AffinityTopologyVersion rebTopVer,
GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridCachePreloader.rebalanceRequired(AffinityTopologyVersion rebTopVer,
GridDhtPartitionsExchangeFuture exchFut) |
protected void |
GridCacheMapEntry.recordNodeId(UUID nodeId,
AffinityTopologyVersion topVer) |
void |
GridCacheContext.releaseForFastLocalGet(int part,
AffinityTopologyVersion topVer)
Releases the partition that was reserved by a call to
GridCacheContext.reserveForFastLocalGet(int, AffinityTopologyVersion). |
GridDhtFuture<Object> |
GridCachePreloaderAdapter.request(GridCacheContext ctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
GridDhtFuture<Object> |
GridCachePreloader.request(GridCacheContext cctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
GridDhtFuture<Object> |
GridCachePreloaderAdapter.request(GridCacheContext ctx,
GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
GridDhtFuture<Object> |
GridCachePreloader.request(GridCacheContext cctx,
GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
GridCloseableIterator<CacheDataRow> |
IgniteCacheOffheapManager.reservedIterator(int part,
AffinityTopologyVersion topVer) |
GridCloseableIterator<CacheDataRow> |
IgniteCacheOffheapManagerImpl.reservedIterator(int part,
AffinityTopologyVersion topVer) |
boolean |
GridCacheContext.reserveForFastLocalGet(int part,
AffinityTopologyVersion topVer)
Checks if local reads are allowed for the given partition and reserves the partition when needed.
|
IgniteInternalFuture<?> |
GridCacheProcessor.startCachesOnLocalJoin(AffinityTopologyVersion exchTopVer,
LocalJoinCachesContext locJoinCtx) |
Collection<DynamicCacheDescriptor> |
GridCacheProcessor.startReceivedCaches(UUID nodeId,
AffinityTopologyVersion exchTopVer)
Starts statically configured caches received from remote nodes during exchange.
|
void |
DynamicCacheDescriptor.startTopologyVersion(AffinityTopologyVersion startTopVer) |
void |
GridCacheMvccCandidate.topologyVersion(AffinityTopologyVersion topVer) |
Map<IgniteTxKey,Collection<GridCacheMvccCandidate>> |
GridCacheMvccManager.unfinishedLocks(AffinityTopologyVersion topVer) |
boolean |
GridCacheMapEntry.valid(AffinityTopologyVersion topVer) |
boolean |
GridCacheEntryEx.valid(AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
MetadataUpdateProposedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
MetadataUpdateAcceptedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridCacheTtlUpdateRequest.topologyVersion() |
AffinityTopologyVersion |
GridDistributedTxFinishRequest.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable GridCacheMvccCandidate |
GridDistributedCacheEntry.addLocal(long threadId,
GridCacheVersion ver,
AffinityTopologyVersion topVer,
long timeout,
boolean reenter,
boolean tx,
boolean implicitSingle,
boolean read)
Add local candidate.
|
| Constructor and Description |
|---|
GridCacheTtlUpdateRequest(int cacheId,
AffinityTopologyVersion topVer,
long ttl) |
GridDistributedTxFinishRequest(GridCacheVersion xidVer,
IgniteUuid futId,
@NotNull AffinityTopologyVersion topVer,
@Nullable GridCacheVersion commitVer,
long threadId,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
CacheWriteSynchronizationMode syncMode,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
@Nullable UUID subjId,
int taskNameHash,
int txSize,
boolean addDepInfo) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
CacheDistributedGetFutureAdapter.AbstractMiniFuture.topVer
Topology version on which this future was mapped.
|
| Modifier and Type | Field and Description |
|---|---|
protected Map<AffinityTopologyVersion,Map<Integer,Set<ClusterNode>>> |
CacheDistributedGetFutureAdapter.invalidNodes |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtCacheAdapter.beginMultiUpdate()
Starts multi-update lock.
|
AffinityTopologyVersion |
GridDhtTopologyFuture.initialVersion()
Returns topology version when exchange started.
|
AffinityTopologyVersion |
ClientCacheDhtTopologyFuture.initialVersion()
Returns topology version when exchange started.
|
AffinityTopologyVersion |
GridDhtAffinityAssignmentRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtTxQueryFirstEnlistRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
AffinityTopologyVersion |
GridDhtUnreservedPartitionException.topologyVersion() |
AffinityTopologyVersion |
GridDhtLockRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtTxPrepareRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtTopologyFuture.topologyVersion()
Gets result topology version of this future.
|
AffinityTopologyVersion |
GridDhtAffinityAssignmentResponse.topologyVersion() |
AffinityTopologyVersion |
ClientCacheDhtTopologyFuture.topologyVersion()
Gets result topology version of this future.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
CacheDistributedGetFutureAdapter.addNodeAsInvalid(ClusterNode node,
int part,
AffinityTopologyVersion topVer) |
protected abstract @Nullable IgniteInternalFuture<Boolean> |
GridDhtTxLocalAdapter.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
protected @Nullable IgniteInternalFuture<Boolean> |
GridDhtTxLocal.addReader(long msgId,
GridDhtCacheEntry cached,
IgniteTxEntry entry,
AffinityTopologyVersion topVer)
Adds reader to cached entry.
|
@Nullable IgniteInternalFuture<Boolean> |
GridDhtCacheEntry.addReader(UUID nodeId,
long msgId,
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 addReaders,
boolean readThrough,
AffinityTopologyVersion topVer,
@Nullable UUID subjId,
int taskNameHash,
@Nullable IgniteCacheExpiryPolicy expiry,
boolean skipVals,
boolean recovery,
@Nullable String txLbl,
MvccSnapshot mvccSnapshot) |
protected Set<ClusterNode> |
CacheDistributedGetFutureAdapter.getInvalidNodes(int part,
AffinityTopologyVersion topVer) |
void |
GridPartitionedGetFuture.init(AffinityTopologyVersion topVer)
Initializes future.
|
GridDhtTxLocal |
GridDhtTransactionalCacheAdapter.initTxTopologyVersion(UUID nodeId,
ClusterNode nearNode,
GridCacheVersion nearLockVer,
IgniteUuid nearFutId,
int nearMiniId,
boolean firstClientReq,
AffinityTopologyVersion topVer,
long nearThreadId,
long timeout,
UUID txSubjectId,
int txTaskNameHash,
MvccSnapshot snapshot) |
protected void |
GridPartitionedGetFuture.map(Collection<KeyCacheObject> keys,
Map<ClusterNode,LinkedHashMap<KeyCacheObject,Boolean>> mapped,
AffinityTopologyVersion topVer) |
protected abstract void |
CacheDistributedGetFutureAdapter.map(Collection<KeyCacheObject> keys,
Map<ClusterNode,LinkedHashMap<KeyCacheObject,Boolean>> mapped,
AffinityTopologyVersion topVer) |
@Nullable IgniteInternalFuture<?> |
GridDhtCacheAdapter.multiUpdateFinishFuture(AffinityTopologyVersion topVer)
Creates multi update finish future.
|
protected boolean |
GridDhtCacheAdapter.needRemap(AffinityTopologyVersion mapVer,
AffinityTopologyVersion curVer) |
protected long |
GridDhtCacheEntry.nextPartitionCounter(AffinityTopologyVersion topVer,
boolean primary,
boolean init,
@Nullable Long primaryCntr) |
GridCacheMapEntry |
GridCachePartitionedConcurrentMap.putEntryIfObsoleteOrAbsent(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key,
boolean create,
boolean touch) |
protected ClusterTopologyServerNotFoundException |
CacheDistributedGetFutureAdapter.serverNotFoundError(int part,
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.
|
@Nullable IgniteBiTuple<GridCacheVersion,CacheObject> |
GridDhtCacheEntry.versionedValue(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
AbstractMiniFuture(ClusterNode node,
LinkedHashMap<KeyCacheObject,Boolean> keys,
AffinityTopologyVersion topVer) |
ClientCacheDhtTopologyFuture(AffinityTopologyVersion topVer) |
ClientCacheDhtTopologyFuture(AffinityTopologyVersion topVer,
IgniteCheckedException e) |
GridDhtAffinityAssignmentRequest(long futId,
int grpId,
AffinityTopologyVersion topVer,
boolean sndPartMap) |
GridDhtAffinityAssignmentResponse(long futId,
int grpId,
@NotNull AffinityTopologyVersion topVer,
List<List<ClusterNode>> affAssignment) |
GridDhtAssignmentFetchFuture(GridCacheSharedContext ctx,
int grpId,
AffinityTopologyVersion topVer,
DiscoCache discoCache) |
GridDhtCacheEntry(GridCacheContext ctx,
AffinityTopologyVersion topVer,
KeyCacheObject key) |
GridDhtGetFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
Map<KeyCacheObject,Boolean> keys,
boolean readThrough,
@NotNull AffinityTopologyVersion topVer,
@Nullable UUID subjId,
int taskNameHash,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean recovery,
boolean addReaders,
@Nullable String txLbl,
MvccSnapshot mvccSnapshot) |
GridDhtGetSingleFuture(GridCacheContext<K,V> cctx,
long msgId,
UUID reader,
KeyCacheObject key,
boolean addRdr,
boolean readThrough,
@NotNull AffinityTopologyVersion topVer,
@Nullable UUID subjId,
int taskNameHash,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean recovery,
@Nullable String txLbl,
@Nullable MvccSnapshot mvccSnapshot) |
GridDhtLockFuture(GridCacheContext<?,?> cctx,
UUID nearNodeId,
GridCacheVersion nearLockVer,
@NotNull AffinityTopologyVersion topVer,
int cnt,
boolean read,
boolean needReturnVal,
long timeout,
GridDhtTxLocalAdapter tx,
long threadId,
long createTtl,
long accessTtl,
CacheEntryPredicate[] filter,
boolean skipStore,
boolean keepBinary) |
GridDhtLockRequest(int cacheId,
UUID nodeId,
GridCacheVersion nearXidVer,
long threadId,
IgniteUuid futId,
IgniteUuid miniId,
GridCacheVersion lockVer,
@NotNull AffinityTopologyVersion topVer,
boolean isInTx,
boolean isRead,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int dhtCnt,
int nearCnt,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
long accessTtl,
boolean skipStore,
boolean storeUsed,
boolean keepBinary,
boolean addDepInfo,
String txLbl) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
int miniId,
@NotNull AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
CacheWriteSynchronizationMode syncMode,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
boolean addDepInfo,
boolean retVal,
boolean waitRemoteTxs,
MvccSnapshot mvccSnapshot,
Collection<PartitionUpdateCountersMessage> updCntrs) |
GridDhtTxFinishRequest(UUID nearNodeId,
IgniteUuid futId,
int miniId,
@NotNull AffinityTopologyVersion topVer,
GridCacheVersion xidVer,
GridCacheVersion commitVer,
long threadId,
TransactionIsolation isolation,
boolean commit,
boolean invalidate,
boolean sys,
byte plc,
boolean sysInvalidate,
CacheWriteSynchronizationMode syncMode,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
Collection<GridCacheVersion> pendingVers,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
boolean addDepInfo,
Collection<Long> updateIdxs,
boolean retVal,
boolean waitRemoteTxs,
MvccSnapshot mvccSnapshot,
Collection<PartitionUpdateCountersMessage> updCntrs) |
GridDhtTxLocal(GridCacheSharedContext cctx,
AffinityTopologyVersion topVer,
UUID nearNodeId,
GridCacheVersion nearXidVer,
IgniteUuid nearFutId,
int 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,
@Nullable String lb,
GridNearTxLocal parentTx) |
GridDhtTxPrepareRequest(IgniteUuid futId,
int 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 storeWriteThrough,
boolean retVal,
MvccSnapshot mvccSnapshot,
Collection<PartitionUpdateCountersMessage> updCntrs) |
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,
@Nullable UUID subjId,
int taskNameHash,
boolean single,
boolean storeWriteThrough,
@Nullable String txLbl)
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,
@Nullable UUID subjId,
int taskNameHash,
boolean storeWriteThrough,
@Nullable String txLbl)
This constructor is meant for pessimistic transactions.
|
GridDhtUnreservedPartitionException(int part,
AffinityTopologyVersion topVer,
String msg) |
GridPartitionedSingleGetFuture(GridCacheContext cctx,
KeyCacheObject key,
AffinityTopologyVersion topVer,
boolean readThrough,
boolean forcePrimary,
@Nullable UUID subjId,
String taskName,
boolean deserializeBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean needVer,
boolean keepCacheObjects,
boolean recovery,
String txLbl,
@Nullable MvccSnapshot mvccSnapshot) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridNearAtomicAbstractUpdateFuture.remapTopVer |
protected AffinityTopologyVersion |
GridNearAtomicAbstractUpdateRequest.topVer
Topology version.
|
protected AffinityTopologyVersion |
GridNearAtomicAbstractUpdateFuture.topVer
Current topology version.
|
protected AffinityTopologyVersion |
GridDhtAtomicAbstractUpdateRequest.topVer
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridNearAtomicAbstractUpdateRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
AffinityTopologyVersion |
GridDhtAtomicAbstractUpdateRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
| 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> |
GridNearAtomicAbstractUpdateFuture.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(UUID nodeId,
long futId,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
@NotNull AffinityTopologyVersion topVer,
long ttl,
long conflictExpireTime,
@Nullable GridCacheVersion conflictVer) |
protected void |
GridNearAtomicUpdateFuture.map(AffinityTopologyVersion topVer) |
protected abstract void |
GridNearAtomicAbstractUpdateFuture.map(AffinityTopologyVersion topVer) |
protected void |
GridNearAtomicSingleUpdateFuture.map(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridDhtAtomicAbstractUpdateRequest(int cacheId,
UUID nodeId,
long futId,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
@NotNull AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
boolean addDepInfo,
boolean keepBinary,
boolean skipStore)
Constructor.
|
GridDhtAtomicUpdateRequest(int cacheId,
UUID nodeId,
long futId,
GridCacheVersion writeVer,
CacheWriteSynchronizationMode syncMode,
@NotNull AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
Object[] invokeArgs,
boolean addDepInfo,
boolean keepBinary,
boolean skipStore,
boolean forceTransformBackups)
Constructor.
|
GridNearAtomicAbstractSingleUpdateRequest(int cacheId,
UUID nodeId,
long futId,
@NotNull AffinityTopologyVersion topVer,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
@Nullable UUID subjId,
int taskNameHash,
byte flags,
boolean addDepInfo)
Constructor.
|
GridNearAtomicAbstractUpdateRequest(int cacheId,
UUID nodeId,
long futId,
@NotNull AffinityTopologyVersion topVer,
CacheWriteSynchronizationMode syncMode,
GridCacheOperation op,
@Nullable UUID subjId,
int taskNameHash,
byte flags,
boolean addDepInfo)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
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(@Nullable Collection<KeyCacheObject> keys,
boolean readThrough,
boolean forcePrimary,
AffinityTopologyVersion topVer,
@Nullable UUID subjId,
String taskName,
boolean deserializeBinary,
boolean recovery,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean needVer,
boolean keepCacheObj,
@Nullable String txLbl,
@Nullable MvccSnapshot mvccSnapshot) |
IgniteInternalFuture<Object> |
GridDhtColocatedCache.loadAsync(KeyCacheObject key,
boolean readThrough,
boolean forcePrimary,
AffinityTopologyVersion topVer,
@Nullable UUID subjId,
String taskName,
boolean deserializeBinary,
@Nullable IgniteCacheExpiryPolicy expiryPlc,
boolean skipVals,
boolean needVer,
boolean keepCacheObj,
boolean recovery,
@Nullable MvccSnapshot mvccSnapshot,
@Nullable String txLbl) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridDhtPartitionMap.top
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtPartitionsExchangeFuture.initialVersion()
Gets the affinity topology version for which this exchange was created.
|
AffinityTopologyVersion |
GridDhtPartitionsFullMessage.resultTopologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionDemandLegacyMessage.topologyVersion() |
AffinityTopologyVersion |
GridDhtForceKeysRequest.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionsExchangeFuture.topologyVersion()
Gets result topology version of this future.
|
AffinityTopologyVersion |
GridDhtPartitionDemandMessage.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionDemander.RebalanceFuture.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionSupplyMessage.topologyVersion() |
AffinityTopologyVersion |
GridDhtPreloaderAssignments.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionMap.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionExchangeId.topologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionsFullMessage.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtPartitionsExchangeFuture.finishMerged(AffinityTopologyVersion resVer,
GridDhtPartitionsExchangeFuture exchFut)
Finish merged future to allow GridCachePartitionExchangeManager.ExchangeFutureSet cleanup.
|
boolean |
GridDhtPartitionsExchangeFuture.onDone(@Nullable AffinityTopologyVersion res,
@Nullable Throwable err)
Callback to notify that future is finished.
|
boolean |
GridDhtPreloader.rebalanceRequired(AffinityTopologyVersion rebTopVer,
GridDhtPartitionsExchangeFuture exchFut) |
GridDhtFuture<Object> |
GridDhtPreloader.request(GridCacheContext cctx,
Collection<KeyCacheObject> keys,
AffinityTopologyVersion topVer) |
GridDhtFuture<Object> |
GridDhtPreloader.request(GridCacheContext cctx,
GridNearAtomicAbstractUpdateRequest req,
AffinityTopologyVersion topVer)
Requests that preloader sends the request for the key.
|
void |
GridDhtPartitionsFullMessage.resultTopologyVersion(AffinityTopologyVersion resTopVer) |
void |
GridDhtPartitionsFullMessage.topologyVersion(AffinityTopologyVersion topVer) |
long |
GridDhtPartitionMap.updateSequence(long updateSeq,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
LatchAckMessage.topVer() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ExchangeLatchManager.canSkipJoiningNodes(AffinityTopologyVersion topVer)
Checks that latch manager can use V2 protocol and skip joining nodes from latch participants.
|
void |
ExchangeLatchManager.dropLatch(String id,
AffinityTopologyVersion topVer)
Drops the latch created by
ExchangeLatchManager.getOrCreate(String, AffinityTopologyVersion). |
Latch |
ExchangeLatchManager.getOrCreate(String id,
AffinityTopologyVersion topVer)
Creates new latch with specified
id and topVer or returns existing latch. |
| Constructor and Description |
|---|
LatchAckMessage(String latchId,
AffinityTopologyVersion topVer,
boolean isFinal)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridDhtPartitionTopology.lastTopologyChangeVersion() |
AffinityTopologyVersion |
GridDhtPartitionTopologyImpl.lastTopologyChangeVersion() |
AffinityTopologyVersion |
GridClientPartitionTopology.lastTopologyChangeVersion() |
AffinityTopologyVersion |
GridDhtPartitionTopology.readyTopologyVersion() |
AffinityTopologyVersion |
GridDhtPartitionTopologyImpl.readyTopologyVersion() |
AffinityTopologyVersion |
GridClientPartitionTopology.readyTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridDhtPartitionTopology.afterStateRestored(AffinityTopologyVersion topVer)
Initializes local data structures after partitions are restored from persistence.
|
void |
GridDhtPartitionTopologyImpl.afterStateRestored(AffinityTopologyVersion topVer)
Initializes local data structures after partitions are restored from persistence.
|
void |
GridClientPartitionTopology.afterStateRestored(AffinityTopologyVersion topVer)
Initializes local data structures after partitions are restored from persistence.
|
boolean |
GridDhtLocalPartition.backup(AffinityTopologyVersion topVer) |
boolean |
GridDhtPartitionTopology.detectLostPartitions(AffinityTopologyVersion resTopVer,
@Nullable DiscoveryEvent discoEvt)
Checks if there is at least one owner for each partition in the cache topology.
|
boolean |
GridDhtPartitionTopologyImpl.detectLostPartitions(AffinityTopologyVersion resTopVer,
@Nullable DiscoveryEvent discoEvt)
Checks if there is at least one owner for each partition in the cache topology.
|
boolean |
GridClientPartitionTopology.detectLostPartitions(AffinityTopologyVersion affVer,
DiscoveryEvent discoEvt)
Checks if there is at least one owner for each partition in the cache topology.
|
boolean |
GridDhtPartitionTopology.initPartitionsWhenAffinityReady(AffinityTopologyVersion affVer,
GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridDhtPartitionTopologyImpl.initPartitionsWhenAffinityReady(AffinityTopologyVersion affVer,
GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridClientPartitionTopology.initPartitionsWhenAffinityReady(AffinityTopologyVersion affVer,
GridDhtPartitionsExchangeFuture exchFut) |
@Nullable GridDhtLocalPartition |
GridDhtPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
@Nullable GridDhtLocalPartition |
GridDhtPartitionTopologyImpl.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
@Nullable GridDhtLocalPartition |
GridClientPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create) |
@Nullable GridDhtLocalPartition |
GridDhtPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create,
boolean showRenting) |
@Nullable GridDhtLocalPartition |
GridDhtPartitionTopologyImpl.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create,
boolean showRenting) |
@Nullable GridDhtLocalPartition |
GridClientPartitionTopology.localPartition(int p,
AffinityTopologyVersion topVer,
boolean create,
boolean showRenting) |
long |
GridDhtLocalPartition.nextUpdateCounter(int cacheId,
AffinityTopologyVersion topVer,
boolean primary,
boolean init,
@Nullable Long primaryCntr)
Returns new update counter for primary node or passed counter for backup node.
|
List<ClusterNode> |
GridDhtPartitionTopology.nodes(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridDhtPartitionTopologyImpl.nodes(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridClientPartitionTopology.nodes(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridDhtPartitionTopology.owners(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridDhtPartitionTopologyImpl.owners(int p,
AffinityTopologyVersion topVer) |
List<ClusterNode> |
GridClientPartitionTopology.owners(int p,
AffinityTopologyVersion topVer) |
void |
GridDhtPartitionTopology.ownMoving(AffinityTopologyVersion rebFinishedTopVer)
Owns all moving partitions for the given topology version.
|
void |
GridDhtPartitionTopologyImpl.ownMoving(AffinityTopologyVersion rebFinishedTopVer)
Owns all moving partitions for the given topology version.
|
void |
GridClientPartitionTopology.ownMoving(AffinityTopologyVersion rebFinishedTopVer)
Owns all moving partitions for the given topology version.
|
boolean |
GridDhtLocalPartition.primary(AffinityTopologyVersion topVer) |
boolean |
GridDhtPartitionTopology.rebalanceFinished(AffinityTopologyVersion topVer) |
boolean |
GridDhtPartitionTopologyImpl.rebalanceFinished(AffinityTopologyVersion topVer) |
boolean |
GridClientPartitionTopology.rebalanceFinished(AffinityTopologyVersion topVer) |
void |
GridDhtPartitionTopology.resetLostPartitions(AffinityTopologyVersion resTopVer)
Resets the state of all LOST partitions to OWNING.
|
void |
GridDhtPartitionTopologyImpl.resetLostPartitions(AffinityTopologyVersion resTopVer)
Resets the state of all LOST partitions to OWNING.
|
void |
GridClientPartitionTopology.resetLostPartitions(AffinityTopologyVersion affVer)
Resets the state of all LOST partitions to OWNING.
|
boolean |
GridDhtPartitionTopology.update(@Nullable AffinityTopologyVersion exchangeResVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap cntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridDhtPartitionTopology.update(@Nullable AffinityTopologyVersion exchangeResVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap cntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridDhtPartitionTopologyImpl.update(@Nullable AffinityTopologyVersion exchangeVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap incomeCntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridDhtPartitionTopologyImpl.update(@Nullable AffinityTopologyVersion exchangeVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap incomeCntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridClientPartitionTopology.update(@Nullable AffinityTopologyVersion exchangeVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap cntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
boolean |
GridClientPartitionTopology.update(@Nullable AffinityTopologyVersion exchangeVer,
GridDhtPartitionFullMap partMap,
@Nullable CachePartitionFullCountersMap cntrMap,
Set<Integer> partsToReload,
@Nullable Map<Integer,Long> partSizes,
@Nullable AffinityTopologyVersion msgTopVer,
@Nullable GridDhtPartitionsExchangeFuture exchFut) |
| Constructor and Description |
|---|
GridDhtPartitionsReservation(AffinityTopologyVersion topVer,
GridCacheContext<?,?> cctx,
Object appKey) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
GridNearTxAbstractEnlistFuture.topVer |
| Modifier and Type | Method and Description |
|---|---|
@Nullable AffinityTopologyVersion |
GridNearLockResponse.clientRemapVersion() |
AffinityTopologyVersion |
GridNearTxPrepareRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearTxQueryResultsEnlistRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearLockRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearTxEnlistRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearGetRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearTxQueryEnlistRequest.topologyVersion() |
AffinityTopologyVersion |
GridNearGetResponse.topologyVersion() |
AffinityTopologyVersion |
GridNearSingleGetResponse.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,
boolean read)
Add 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) |
<K,V> IgniteInternalFuture<Map<K,V>> |
GridNearTxLocal.getAllAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
Collection<KeyCacheObject> keys,
boolean deserializeBinary,
boolean skipVals,
boolean keepCacheObjects,
boolean skipStore,
boolean recovery,
boolean readRepair,
boolean needVer) |
void |
GridNearGetFuture.init(@Nullable AffinityTopologyVersion topVer)
Initializes future.
|
void |
GridNearCacheEntry.initializeFromDht(AffinityTopologyVersion topVer) |
void |
GridNearGetResponse.invalidPartitions(Collection<Integer> invalidParts,
@NotNull AffinityTopologyVersion topVer) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
GridNearTxLocal.invokeAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
K key,
javax.cache.processor.EntryProcessor<K,V,Object> entryProcessor,
Object... invokeArgs) |
<K,V,T> IgniteInternalFuture<GridCacheReturn> |
GridNearTxLocal.invokeAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
@Nullable Map<? extends K,? extends javax.cache.processor.EntryProcessor<K,V,Object>> map,
Object... invokeArgs) |
protected boolean |
GridNearTransactionalCache.isNearLocallyMapped(GridCacheEntryEx e,
AffinityTopologyVersion topVer) |
boolean |
GridNearCacheEntry.loadedValue(@Nullable IgniteInternalTx tx,
UUID primaryNodeId,
CacheObject val,
GridCacheVersion ver,
GridCacheVersion dhtVer,
long ttl,
long expireTime,
boolean evt,
boolean keepBinary,
AffinityTopologyVersion topVer,
UUID subjId) |
protected void |
GridNearGetFuture.map(Collection<KeyCacheObject> keys,
Map<ClusterNode,LinkedHashMap<KeyCacheObject,Boolean>> mapped,
AffinityTopologyVersion topVer) |
void |
GridNearTxLocal.onRemap(AffinityTopologyVersion topVer,
boolean reset) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
GridNearTxLocal.putAllAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
Map<? extends K,? extends V> map,
boolean retval) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
GridNearTxLocal.putAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
K key,
V val,
boolean retval,
CacheEntryPredicate filter) |
protected void |
GridNearCacheEntry.recordNodeId(UUID primaryNodeId,
AffinityTopologyVersion topVer) |
<K,V> IgniteInternalFuture<GridCacheReturn> |
GridNearTxLocal.removeAllAsync(GridCacheContext cacheCtx,
@Nullable AffinityTopologyVersion entryTopVer,
Collection<? extends K> keys,
boolean retval,
CacheEntryPredicate filter,
boolean singleRmv) |
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 |
GridNearLockRequest.topologyVersion(AffinityTopologyVersion topVer) |
void |
GridNearCacheEntry.updateOrEvict(GridCacheVersion dhtVer,
@Nullable 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,
@NotNull AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
long createTtl,
long accessTtl,
boolean addReader,
boolean skipVals,
boolean addDepInfo,
boolean recovery,
@Nullable String txLbl,
@Nullable MvccSnapshot mvccSnapshot) |
GridNearLockRequest(int cacheId,
@NotNull AffinityTopologyVersion topVer,
UUID nodeId,
long threadId,
IgniteUuid futId,
GridCacheVersion lockVer,
boolean isInTx,
boolean isRead,
boolean retVal,
TransactionIsolation isolation,
boolean isInvalidate,
long timeout,
int keyCnt,
int txSize,
boolean syncCommit,
@Nullable UUID subjId,
int taskNameHash,
long createTtl,
long accessTtl,
boolean skipStore,
boolean keepBinary,
boolean firstClientReq,
boolean nearCache,
boolean addDepInfo,
@Nullable String txLbl) |
GridNearLockResponse(int cacheId,
GridCacheVersion lockVer,
IgniteUuid futId,
int miniId,
boolean filterRes,
int cnt,
Throwable err,
AffinityTopologyVersion clientRemapVer,
boolean addDepInfo,
boolean compatibleRemapVer) |
GridNearSingleGetRequest(int cacheId,
long futId,
KeyCacheObject key,
boolean readThrough,
@NotNull AffinityTopologyVersion topVer,
UUID subjId,
int taskNameHash,
long createTtl,
long accessTtl,
boolean skipVals,
boolean addReader,
boolean needVer,
boolean addDepInfo,
boolean recovery,
@Nullable String txLbl,
MvccSnapshot mvccSnapshot) |
GridNearSingleGetResponse(int cacheId,
long futId,
AffinityTopologyVersion topVer,
@Nullable 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,
@NotNull AffinityTopologyVersion topVer,
GridCacheVersion baseVer,
Collection<GridCacheVersion> committedVers,
Collection<GridCacheVersion> rolledbackVers,
int txSize,
@Nullable UUID subjId,
int taskNameHash,
MvccSnapshot mvccSnapshot,
boolean addDepInfo) |
GridNearTxPrepareRequest(IgniteUuid futId,
AffinityTopologyVersion topVer,
GridNearTxLocal 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,
@Nullable UUID subjId,
int taskNameHash,
boolean firstClientReq,
boolean allowWaitTopFut,
boolean addDepInfo,
boolean recovery) |
GridNearTxPrepareResponse(int part,
GridCacheVersion xid,
IgniteUuid futId,
int miniId,
GridCacheVersion dhtVer,
GridCacheVersion writeVer,
GridCacheReturn retVal,
Throwable err,
AffinityTopologyVersion clientRemapVer,
boolean onePhaseCommit,
boolean addDepInfo) |
GridNearTxQueryEnlistRequest(int cacheId,
long threadId,
IgniteUuid futId,
int miniId,
UUID subjId,
AffinityTopologyVersion topVer,
GridCacheVersion lockVer,
MvccSnapshot mvccSnapshot,
int[] cacheIds,
int[] parts,
String schema,
String qry,
Object[] params,
int flags,
int pageSize,
long timeout,
long txTimeout,
int taskNameHash,
boolean clientFirst) |
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,
@Nullable UUID subjId,
int taskNameHash,
@Nullable String txLbl)
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,
@Nullable UUID subjId,
int taskNameHash,
@Nullable String txLbl)
This constructor is meant for pessimistic transactions.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
GridNearReadRepairAbstractFuture.map(AffinityTopologyVersion topVer) |
| Constructor and Description |
|---|
GridNearReadRepairAbstractFuture(AffinityTopologyVersion topVer,
GridCacheContext<KeyCacheObject,EntryGetResult> ctx,
Collection<KeyCacheObject> keys,
boolean readThrough,
String taskName,
boolean deserializeBinary,
boolean recovery,
IgniteCacheExpiryPolicy expiryPlc,
IgniteInternalTx tx)
Creates a new instance of GridNearReadRepairAbstractFuture.
|
GridNearReadRepairFuture(AffinityTopologyVersion topVer,
GridCacheContext ctx,
Collection<KeyCacheObject> keys,
boolean readThrough,
String taskName,
boolean deserializeBinary,
boolean recovery,
IgniteCacheExpiryPolicy expiryPlc,
IgniteInternalTx tx)
Creates a new instance of GridNearReadRepairFuture.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GridCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left,
boolean activate)
Process partitions exchange event.
|
void |
GridOsCacheDrManager.onExchange(AffinityTopologyVersion topVer,
boolean left,
boolean activate)
Process partitions exchange event.
|
void |
GridCacheDrManager.replicate(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType,
AffinityTopologyVersion topVer)
Performs replication.
|
void |
GridOsCacheDrManager.replicate(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
GridDrType drType,
AffinityTopologyVersion topVer)
Performs replication.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
MvccTxEntry.topologyVersion() |
AffinityTopologyVersion |
MvccQueryTrackerImpl.topologyVersion() |
AffinityTopologyVersion |
StaticMvccQueryTracker.topologyVersion() |
AffinityTopologyVersion |
MvccCoordinator.topologyVersion() |
AffinityTopologyVersion |
MvccQueryTracker.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
MvccCachingManager.addEnlisted(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
CacheObject oldVal,
boolean primary,
AffinityTopologyVersion topVer,
MvccVersion mvccVer,
int cacheId,
IgniteInternalTx tx,
IgniteUuid futId,
int batchNum)
Adds enlisted tx entry to cache.
|
| Constructor and Description |
|---|
MvccCoordinator(AffinityTopologyVersion topVer,
UUID nodeId,
long ver,
boolean local) |
MvccTxEntry(KeyCacheObject key,
@Nullable CacheObject val,
long ttl,
long expireTime,
GridCacheVersion ver,
CacheObject oldVal,
boolean primary,
AffinityTopologyVersion topVer,
MvccVersion mvccVer,
int cacheId) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
PartitionCountersNeighborcastRequest.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
AffinityTopologyVersion |
PartitionCountersNeighborcastResponse.topologyVersion()
Gets topology version or -1 in case of topology version is not required for this message.
|
| Constructor and Description |
|---|
PartitionCountersNeighborcastRequest(Collection<PartitionUpdateCountersMessage> updCntrs,
IgniteUuid futId,
@NotNull AffinityTopologyVersion topVer) |
PartitionCountersNeighborcastResponse(IgniteUuid futId,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
void |
IgniteCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
void |
GridCacheDatabaseSharedManager.onStateRestored(AffinityTopologyVersion topVer)
Called when all partitions have been fully restored and pre-created on node start.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable IgniteInternalFuture |
IgniteCacheSnapshotManager.startLocalSnapshotOperation(UUID initiatorNodeId,
T snapshotOperation,
AffinityTopologyVersion topVer) |
@Nullable IgniteInternalFuture |
IgniteCacheSnapshotManager.tryStartLocalSnapshotOperation(@Nullable DiscoveryEvent discoveryEvt,
AffinityTopologyVersion topVer)
Try to start local snapshot operation if it's required by discovery event.
|
| 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.
|
AffinityTopologyVersion |
GridCacheQueryManager.ScanQueryIterator.topVer() |
| 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,
int limit,
String clsName,
IgniteBiPredicate<Object,Object> keyValFilter,
@Nullable Integer part,
IgniteReducer<Object,Object> rdc,
IgniteClosure<?,?> trans,
int pageSize,
boolean incBackups,
Object[] args,
boolean incMeta,
boolean keepBinary,
UUID subjId,
int taskHash,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot,
boolean addDepInfo,
Boolean dataPageScanEnabled) |
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,
Boolean dataPageScanEnabled)
Request to load page.
|
| Modifier and Type | Method and Description |
|---|---|
void |
CacheContinuousQueryManager.closeBackupUpdateCountersGaps(GridCacheContext cctx,
int part,
AffinityTopologyVersion topVer,
GridLongList gaps)
For cache updates in shared cache group need notify others caches CQ listeners
that generated counter should be skipped.
|
void |
CacheContinuousQueryManager.flushBackupQueue(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,
@Nullable 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,
@Nullable GridDhtAtomicAbstractUpdateFuture fut,
AffinityTopologyVersion topVer) |
@Nullable CounterSkipContext |
CacheContinuousQueryManager.skipUpdateCounter(@Nullable CounterSkipContext skipCtx,
int part,
long cntr,
AffinityTopologyVersion topVer,
boolean primary) |
@Nullable CounterSkipContext |
CacheContinuousQueryListener.skipUpdateCounter(GridCacheContext cctx,
@Nullable CounterSkipContext skipCtx,
int part,
long cntr,
AffinityTopologyVersion topVer,
boolean primary)
For cache updates in shared cache group need notify others caches CQ listeners
that generated counter should be skipped.
|
void |
CacheContinuousQueryListener.skipUpdateEvent(org.apache.ignite.internal.processors.cache.query.continuous.CacheContinuousQueryEvent<K,V> evt,
AffinityTopologyVersion topVer,
boolean primary) |
void |
CacheContinuousQueryHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,T2<Long,Long>>> cntrsPerNode,
Map<Integer,T2<Long,Long>> cntrs) |
| Modifier and Type | Field and Description |
|---|---|
protected AffinityTopologyVersion |
IgniteTxAdapter.topVer
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
@Nullable AffinityTopologyVersion |
IgniteTxManager.lockedTopologyVersion(long threadId,
IgniteInternalTx ignore) |
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion() |
AffinityTopologyVersion |
IgniteInternalTx.topologyVersion() |
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteInternalTx.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersionSnapshot() |
AffinityTopologyVersion |
IgniteInternalTx.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<?> |
IgniteTxManager.finishAllTxs(IgniteInternalFuture<?> finishLocalTxsFuture,
AffinityTopologyVersion topVer)
Creates a future that will wait for finishing all tx updates on backups after all local transactions are finished.
|
IgniteInternalFuture<Boolean> |
IgniteTxManager.finishLocalTxs(AffinityTopologyVersion topVer,
ClusterNode node)
Creates a future that will wait for all ongoing transactions that maybe affected by topology update
to be finished.
|
boolean |
IgniteTxManager.needWaitTransaction(IgniteInternalTx tx,
AffinityTopologyVersion topVer) |
void |
IgniteTxManager.rollbackOnTopologyChange(AffinityTopologyVersion topVer)
Rollback transactions blocking partition map exchange.
|
boolean |
IgniteTxManager.setTxTopologyHint(@Nullable AffinityTopologyVersion topVer) |
AffinityTopologyVersion |
IgniteTxAdapter.topologyVersion(AffinityTopologyVersion topVer)
Attempts to set topology version and returns the current value.
|
AffinityTopologyVersion |
IgniteInternalTx.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 | Field and Description |
|---|---|
AffinityTopologyVersion |
CacheInfo.topVer
Topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
CacheInfo.getTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
void |
CacheInfo.setTopologyVersion(AffinityTopologyVersion topologyVersion) |
| 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 |
|---|---|
@Nullable AffinityTopologyVersion |
AffinityTask.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DiscoveryDataClusterState.transitionTopologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
ChangeGlobalStateFinishMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
ChangeGlobalStateMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
boolean |
IGridClusterStateProcessor.onStateChangeMessage(AffinityTopologyVersion topVer,
ChangeGlobalStateMessage msg,
DiscoCache discoCache) |
boolean |
GridClusterStateProcessor.onStateChangeMessage(AffinityTopologyVersion topVer,
ChangeGlobalStateMessage msg,
DiscoCache discoCache) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
AbstractContinuousMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
void |
GridContinuousHandler.updateCounters(AffinityTopologyVersion topVer,
Map<UUID,Map<Integer,T2<Long,Long>>> cntrsPerNode,
Map<Integer,T2<Long,Long>> cntrs) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
DataStreamerRequest.topologyVersion() |
| Constructor and Description |
|---|
DataStreamerRequest(long reqId,
byte[] resTopicBytes,
@Nullable 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,
@NotNull AffinityTopologyVersion topVer,
int partId) |
| Constructor and Description |
|---|
PartitionsReservation(int[] cacheIds,
int partId,
AffinityTopologyVersion topVer) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
MappingAcceptedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
@Nullable DiscoCache |
MappingProposedMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
JdbcResponse.affinityVersion() |
AffinityTopologyVersion |
JdbcConnectionContext.getAffinityTopologyVersionIfChanged() |
| Constructor and Description |
|---|
JdbcResponse(JdbcResult res,
@Nullable AffinityTopologyVersion affinityVer)
Constructs successful rest response.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
ClientAffinityTopologyVersion.getVersion() |
| Constructor and Description |
|---|
ClientAffinityTopologyVersion(AffinityTopologyVersion version,
boolean changed)
Constructor.
|
| 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.
|
UpdateSourceIterator<?> |
GridQueryIndexing.executeUpdateOnDataNodeTransactional(GridCacheContext<?,?> cctx,
int[] ids,
int[] parts,
String schema,
String qry,
Object[] params,
int flags,
int pageSize,
int timeout,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot,
GridQueryCancel cancel) |
UpdateSourceIterator<?> |
GridQueryProcessor.executeUpdateOnDataNodeTransactional(GridCacheContext<?,?> cctx,
int[] cacheIds,
int[] parts,
String schema,
String qry,
Object[] params,
int flags,
int pageSize,
int timeout,
AffinityTopologyVersion topVer,
MvccSnapshot mvccSnapshot,
GridQueryCancel cancel)
Execute update on DHT node (i.e. when it is possible to execute and update on all nodes independently).
|
static void |
GridQueryProcessor.setRequestAffinityTopologyVersion(AffinityTopologyVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
GridQueryNextPageResponse.retry() |
| Modifier and Type | Method and Description |
|---|---|
void |
GridQueryNextPageResponse.retry(AffinityTopologyVersion retry) |
| Modifier and Type | Method and Description |
|---|---|
@Nullable DiscoCache |
SchemaAbstractDiscoveryMessage.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
ServiceDeploymentManager.readyTopologyVersion() |
AffinityTopologyVersion |
ServiceDeploymentProcessId.topologyVersion() |
| Modifier and Type | Method and Description |
|---|---|
DiscoCache |
ServiceClusterDeploymentResultBatch.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
DiscoCache |
ServiceChangeBatchRequest.createDiscoCache(GridDiscoveryManager mgr,
AffinityTopologyVersion topVer,
DiscoCache discoCache)
Creates new discovery cache if message caused topology version change.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
PartitionResult.topologyVersion() |
| Constructor and Description |
|---|
PartitionResult(PartitionNode tree,
AffinityTopologyVersion topVer,
String cacheName,
int partsCnt)
Constructor.
|
PartitionResult(PartitionNode tree,
PartitionTableAffinityDescriptor aff,
AffinityTopologyVersion topVer)
Constructor.
|
| Constructor and Description |
|---|
VisorAffinityTopologyVersion(AffinityTopologyVersion affTopVer)
Create data transfer object for affinity topology version.
|
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
VisorTxInfo.getTopologyVersion() |
| Constructor and Description |
|---|
VisorTxInfo(IgniteUuid xid,
long startTime,
long duration,
TransactionIsolation isolation,
TransactionConcurrency concurrency,
long timeout,
String lb,
Collection<UUID> primaryNodes,
TransactionState state,
int size,
IgniteUuid nearXid,
Collection<UUID> masterNodeIds,
AffinityTopologyVersion topVer,
TxVerboseInfo info) |
| Modifier and Type | Method and Description |
|---|---|
AffinityTopologyVersion |
MessageReader.readAffinityTopologyVersion(String name)
Reads
AffinityTopologyVersion. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
MessageWriter.writeAffinityTopologyVersion(String name,
AffinityTopologyVersion val)
Writes
AffinityTopologyVersion. |
| Constructor and Description |
|---|
IndexingQueryCacheFilter(GridCacheAffinityManager aff,
Set<Integer> parts,
AffinityTopologyVersion topVer,
ClusterNode locNode)
Constructor.
|
IndexingQueryFilterImpl(GridKernalContext ctx,
@Nullable AffinityTopologyVersion topVer,
@Nullable int[] partsArr)
Constructor.
|
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.8.1 Release Date : May 21 2020