public final class RandomConnectionLoadBalancingPolicy extends Object implements ConnectionLoadBalancingPolicy
| Constructor and Description |
|---|
RandomConnectionLoadBalancingPolicy() |
public int select(int max)
0 (inclusive) and max exclusive.select in interface ConnectionLoadBalancingPolicymax - the upper limit of the random number selectionRandom.nextInt(int)Copyright © 2013 JBoss, a division of Red Hat. All rights reserved.