public class FirstElementConnectionLoadBalancingPolicy extends Object implements ConnectionLoadBalancingPolicy
select(int)
always returns 0.Constructor and Description |
---|
FirstElementConnectionLoadBalancingPolicy() |
public FirstElementConnectionLoadBalancingPolicy()
public int select(int max)
ConnectionLoadBalancingPolicy
select
in interface ConnectionLoadBalancingPolicy
max
- maximum position index that can be selectedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.