org.jboss.ha.framework.interfaces
public interface: LoadBalancePolicy [javadoc |
source]
All Implemented Interfaces:
org.jboss.ha.client.loadbalance.LoadBalancePolicy
All Known Implementing Classes:
RoundRobin, FirstAvailableIdenticalAllProxies, TransactionSticky, TransactionStickyRandomRobin, RandomRobin, TransactionStickyFirstAvailable, TransactionStickyFirstAvailableIdenticalAllProxies, FirstAvailable, TransactionStickyRoundRobin
Extends the
parent interface
by adding support for passing in a legacy (i.e. non-AOP)
Invocation
as an aid in making the choice of targets.
- author:
< - a href="mailto:bill@burkecentral.com">Bill Burke.
- author:
< - a href="mailto:sacha.labourey@cogito-info.ch">Sacha Labourey.
- version:
$ - Revision: 67151 $
| Field Summary |
|---|
| static final long | serialVersionUID | The serialVersionUID |
| Method from org.jboss.ha.framework.interfaces.LoadBalancePolicy Summary: |
|---|
|
chooseTarget, init |
| Method from org.jboss.ha.framework.interfaces.LoadBalancePolicy Detail: |
public Object chooseTarget(FamilyClusterInfo clusterFamily,
Invocation routingDecision)
Called when the stub wishes to know on which node the next invocation must
be performed. |
public void init(HARMIClient father)
Initialize the policy with a reference to its parent stub. the load-balancing policy
implementation can use HARMIClient data to take its decision |