public interface AffinityAssignment
Modifier and Type | Method and Description |
---|---|
List<List<ClusterNode>> |
assignment() |
Set<Integer> |
backupPartitions(UUID nodeId)
Get backup partitions for specified node ID.
|
boolean |
clientEventChange() |
List<ClusterNode> |
get(int part)
Get affinity nodes for partition.
|
HashSet<UUID> |
getIds(int part)
Get affinity node IDs for partition.
|
List<List<ClusterNode>> |
idealAssignment() |
Set<ClusterNode> |
primaryPartitionNodes() |
Set<Integer> |
primaryPartitions(UUID nodeId)
Get primary partitions for specified node ID.
|
AffinityTopologyVersion |
topologyVersion() |
boolean clientEventChange()
True
if related discovery event did not not cause affinity assignment change and
this assignment is just reference to the previous one.List<List<ClusterNode>> idealAssignment()
List<List<ClusterNode>> assignment()
AffinityTopologyVersion topologyVersion()
List<ClusterNode> get(int part)
part
- Partition.HashSet<UUID> getIds(int part)
part
- Partition.Set<ClusterNode> primaryPartitionNodes()
Set<Integer> primaryPartitions(UUID nodeId)
nodeId
- Node ID to get primary partitions for.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017