Different instances of this class will coordinate their target selection via the {@link FamilyClusterInfo#getCursor() FamilyClusterInfo cursor}, so if proxy A makes the first call to target 1, and proxy B makes the next call, it will invoke on target 2; the third call will go to target 3 no matter which proxy makes it, and so on.
The first target in the round-robin is chosen randomly, ensuring that proper load balancing occurs when many clients in different VM's download the proxy.
@see org.jboss.ha.client.loadbalance.LoadBalancePolicy @see org.jboss.ha.framework.interfaces.FamilyClusterInfo#getCursor() @author Sacha Labourey. @author Bill Burke. @version $Revision: 57642 $
|
|
|
|
|
|
|
|
|
|
|
|
|
|