public interface GridClientDataAffinity
If implementation of data affinity implements GridClientTopologyListener interface as well,
then affinity will be added to topology listeners on client start before first connection is established
and will be removed after last connection is closed.
| Modifier and Type | Method and Description |
|---|---|
GridClientNode |
node(Object key,
Collection<? extends GridClientNode> nodes)
Gets primary affinity node for a key.
|
GridClientNode node(Object key, Collection<? extends GridClientNode> nodes)
key - Key to get affinity for.nodes - Nodes to choose from.
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016