public class GridDhtPreloaderAssignments extends ConcurrentHashMap<ClusterNode,GridDhtPartitionDemandMessage>
ConcurrentHashMap.KeySetView<K,V>AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
GridDhtPreloaderAssignments(GridDhtPartitionExchangeId exchangeId,
AffinityTopologyVersion topVer,
boolean affinityReassign) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
affinityReassign() |
boolean |
cancelled() |
void |
cancelled(boolean cancelled) |
void |
retainMoving(GridDhtPartitionTopology top)
Retains only moving partitions for the current topology.
|
ClusterNode |
supplier(int part)
Gets a supplier node for a partition.
|
AffinityTopologyVersion |
topologyVersion() |
String |
toString() |
clear, compute, computeIfAbsent, computeIfPresent, contains, containsKey, containsValue, elements, entrySet, equals, forEach, forEach, forEach, forEachEntry, forEachEntry, forEachKey, forEachKey, forEachValue, forEachValue, get, getOrDefault, hashCode, isEmpty, keys, keySet, keySet, mappingCount, merge, newKeySet, newKeySet, put, putAll, putIfAbsent, reduce, reduceEntries, reduceEntries, reduceEntriesToDouble, reduceEntriesToInt, reduceEntriesToLong, reduceKeys, reduceKeys, reduceKeysToDouble, reduceKeysToInt, reduceKeysToLong, reduceToDouble, reduceToInt, reduceToLong, reduceValues, reduceValues, reduceValuesToDouble, reduceValuesToInt, reduceValuesToLong, remove, remove, replace, replace, replaceAll, search, searchEntries, searchKeys, searchValues, size, valuesclonepublic GridDhtPreloaderAssignments(GridDhtPartitionExchangeId exchangeId, AffinityTopologyVersion topVer, boolean affinityReassign)
exchangeId - Exchange ID.topVer - Last join order.public boolean affinityReassign()
public boolean cancelled()
True if assignments creation was cancelled.public void cancelled(boolean cancelled)
cancelled - True if assignments creation was cancelled.public AffinityTopologyVersion topologyVersion()
GridDhtPartitionTopologyImpl.readyTopVer.public String toString()
toString in class ConcurrentHashMap<ClusterNode,GridDhtPartitionDemandMessage>public void retainMoving(GridDhtPartitionTopology top)
top - Topology.public ClusterNode supplier(int part)
part - Partition.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023