Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.soa.esb.listeners.ha
Interface LoadBalancePolicy

All Known Implementing Classes:
  AbstractLoadBalancePolicy, FirstAvailable, RandomRobin, RoundRobin

    public interface LoadBalancePolicy

Base interface for load-balancing policies. It is possible to implement many different load-balancing policies by implementing this simple interface and using it in the different service clusters. Code based on jbossas ha framework.

Author:
  Kurt Stam.

Method Summary
`EPR` | `chooseEPR(ServiceClusterInfo serviceCluster)` Called when the ServiceInvoker wishes to know on which node the next invocation must be performed.

Method Detail

### chooseEPR

    EPR chooseEPR(ServiceClusterInfo serviceCluster)

  Called when the ServiceInvoker wishes to know on which node the next invocation must be performed.

  Parameters:
    `serviceCluster` - A list of potential eprs
  Returns:
    The selected epr for the next invocation

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD