Save This Page
Home » jboss-5.0.0.CR1-src » org.jboss.ha.framework » interfaces » [javadoc | source]
org.jboss.ha.framework.interfaces
public class: RandomRobin [javadoc | source]
java.lang.Object
   org.jboss.ha.framework.interfaces.RandomRobin

All Implemented Interfaces:
    LoadBalancePolicy

LoadBalancingPolicy implementation that always fully randomly select its target (without basing its decision on any historic).
Field Summary
public static final  Random localRandomizer    This needs to be a class variable or else you end up with multiple Random numbers with the same seed when many clients lookup a proxy. 
Method from org.jboss.ha.framework.interfaces.RandomRobin Summary:
chooseTarget,   chooseTarget,   init
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jboss.ha.framework.interfaces.RandomRobin Detail:
 public Object chooseTarget(FamilyClusterInfo clusterFamily) 
 public Object chooseTarget(FamilyClusterInfo clusterFamily,
    Invocation routingDecision) 
 public  void init(HARMIClient father)