public interface GridClientLoadBalancer
GridClientConfiguration.getBalancer()
configuration property.
The following implementations are provided out of the box:
Modifier and Type | Method and Description |
---|---|
GridClientNode |
balancedNode(Collection<? extends GridClientNode> nodes)
Gets next node for executing client command.
|
GridClientNode balancedNode(Collection<? extends GridClientNode> nodes) throws GridClientException
nodes
- Nodes to pick from, should not be empty.GridClientException
- If balancer can't match given nodes with current topology snapshot.
Follow @ApacheIgnite
Ignite Fabric : ver. 2.0.0 Release Date : April 30 2017