public interface AffinityFunctionContext
AffinityFunction
for
partition reassignment on every topology change event.Modifier and Type | Method and Description |
---|---|
int |
backups()
Gets number of backups for new assignment.
|
List<ClusterNode> |
currentTopologySnapshot()
Gets current topology snapshot.
|
org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion |
currentTopologyVersion()
Gets current topology version number.
|
DiscoveryEvent |
discoveryEvent()
Gets discovery event caused topology change.
|
List<ClusterNode> |
previousAssignment(int part)
Gets affinity assignment for given partition on previous topology version.
|
List<ClusterNode> previousAssignment(int part)
part
- Partition to get previous assignment for.null
if this information is not available.int backups()
List<ClusterNode> currentTopologySnapshot()
org.apache.ignite.internal.processors.affinity.AffinityTopologyVersion currentTopologyVersion()
DiscoveryEvent discoveryEvent()
null
if this information is
not available.
GridGain In-Memory Computing Platform : ver. 8.9.14 Release Date : November 5 2024