
public class RandomConnectionLoadBalancingPolicy extends java.lang.Object implements ConnectionLoadBalancingPolicy
| Constructor and Description |
|---|
RandomConnectionLoadBalancingPolicy() |
| Modifier and Type | Method and Description |
|---|---|
int |
select(int max)
Returns the selected index according to the policy implementation.
|
public RandomConnectionLoadBalancingPolicy()
public int select(int max)
ConnectionLoadBalancingPolicyselect in interface ConnectionLoadBalancingPolicymax - maximum position index that can be selectedCopyright © 2009 Red Hat Inc. All Rights Reserved.