@Deprecated public class GridAffinityAssignment extends Object implements AffinityAssignment, Serializable
DFLT_AFFINITY_BACKUPS_THRESHOLD, IGNITE_AFFINITY_BACKUPS_THRESHOLD, IGNITE_DISABLE_AFFINITY_MEMORY_OPTIMIZATION| Modifier and Type | Method and Description |
|---|---|
List<List<ClusterNode>> |
assignment()
Deprecated.
|
Set<Integer> |
backupPartitions(UUID nodeId)
Deprecated.
Get backup partitions for specified node ID.
|
boolean |
equals(Object o)
Deprecated.
|
List<ClusterNode> |
get(int part)
Deprecated.
Get affinity nodes for partition.
|
HashSet<UUID> |
getIds(int part)
Deprecated.
Get affinity node IDs for partition.
|
int |
hashCode()
Deprecated.
|
List<List<ClusterNode>> |
idealAssignment()
Deprecated.
|
Set<ClusterNode> |
nodes()
Deprecated.
|
Set<Integer> |
partitionPrimariesDifferentToIdeal()
Deprecated.
|
Set<ClusterNode> |
primaryPartitionNodes()
Deprecated.
|
Set<Integer> |
primaryPartitions(UUID nodeId)
Deprecated.
Get primary partitions for specified node ID.
|
AffinityTopologyVersion |
topologyVersion()
Deprecated.
|
String |
toString()
Deprecated.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitassignments2idspublic List<List<ClusterNode>> idealAssignment()
idealAssignment in interface AffinityAssignmentpublic List<List<ClusterNode>> assignment()
assignment in interface AffinityAssignmentpublic AffinityTopologyVersion topologyVersion()
topologyVersion in interface AffinityAssignmentpublic List<ClusterNode> get(int part)
get in interface AffinityAssignmentpart - Partition.public HashSet<UUID> getIds(int part)
getIds in interface AffinityAssignmentpart - Partition.public Set<ClusterNode> nodes()
nodes in interface AffinityAssignmentpublic Set<ClusterNode> primaryPartitionNodes()
primaryPartitionNodes in interface AffinityAssignmentpublic Set<Integer> primaryPartitions(UUID nodeId)
primaryPartitions in interface AffinityAssignmentnodeId - Node ID to get primary partitions for.public Set<Integer> backupPartitions(UUID nodeId)
backupPartitions in interface AffinityAssignmentnodeId - Node ID to get backup partitions for.public Set<Integer> partitionPrimariesDifferentToIdeal()
partitionPrimariesDifferentToIdeal in interface AffinityAssignment
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.1 Release Date : December 20 2021