public final class FirstElementConnectionLoadBalancingPolicy extends Object implements ConnectionLoadBalancingPolicy
select(int)
always returns 0.Constructor and Description |
---|
FirstElementConnectionLoadBalancingPolicy() |
Modifier and Type | Method and Description |
---|---|
int |
select(int max)
Returns the selected index according to the policy implementation.
|
public FirstElementConnectionLoadBalancingPolicy()
public int select(int max)
ConnectionLoadBalancingPolicy
select
in interface ConnectionLoadBalancingPolicy
max
- param is ignoredCopyright © 2020 The Apache Software Foundation. All rights reserved.