IgniteConfiguration.setConsistentId(Serializable) instead.@Deprecated public interface AffinityNodeHashResolver extends Serializable
Node IDs constantly change when nodes get restarted, which causes affinity mapping to change between restarts, and hence causing redundant repartitioning. Providing an alternate node hash value, which survives node restarts, will help to map keys to the same nodes whenever possible.
Note that on case clients exist they will query this object from the server and use it for affinity calculation. Therefore you must ensure that server and clients can marshal and unmarshal this object in binary format, i.e. all parties have object class(es) configured as binary.
| Modifier and Type | Method and Description |
|---|---|
Object |
resolve(ClusterNode node)
Deprecated.
|
@Deprecated Object resolve(ClusterNode node)
node - Grid node.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.11 Release Date : April 8 2016