public static interface GridClientPartitionAffinity.HashIdResolver
Node IDs constantly change when nodes get restarted, which causes them to be placed on different locations in the hash ring, and hence causing repartitioning. Providing an alternate hash ID, which survives node restarts, puts node on the same location on the hash ring, hence minimizing required repartitioning.
| Modifier and Type | Method and Description |
|---|---|
Object |
getHashId(GridClientNode node)
Gets alternate hash ID, other than node ID.
|
Object getHashId(GridClientNode node)
node - Node.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.1.0-incubating Release Date : May 20 2015