org.jboss.soa.esb.listeners.ha
Class RoundRobin

java.lang.Object
  extended by org.jboss.soa.esb.listeners.ha.AbstractLoadBalancePolicy
      extended by org.jboss.soa.esb.listeners.ha.RoundRobin
All Implemented Interfaces:
LoadBalancePolicy

public class RoundRobin
extends AbstractLoadBalancePolicy

LoadBalancingPolicy implementation that always favors the next available epr load balancing always occurs. Code based on jbossas ha framework.

Author:
Kurt Stam.

Constructor Summary
RoundRobin()
           
 
Method Summary
protected  EPR chooseEPRByPolicy(ServiceClusterInfo serviceCluster)
           
 
Methods inherited from class org.jboss.soa.esb.listeners.ha.AbstractLoadBalancePolicy
chooseEPR
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RoundRobin

public RoundRobin()
Method Detail

chooseEPRByPolicy

protected EPR chooseEPRByPolicy(ServiceClusterInfo serviceCluster)
Specified by:
chooseEPRByPolicy in class AbstractLoadBalancePolicy