|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LoadBalancePolicy
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.
Field Summary | |
---|---|
static long |
serialVersionUID
The serialVersionUID |
Method Summary | |
---|---|
Object |
chooseTarget(org.jboss.ha.framework.interfaces.FamilyClusterInfo clusterFamily,
Invocation routingDecision)
Called when the stub wishes to know on which node the next invocation must be performed. |
void |
init(HARMIClient father)
Initialize the policy with a reference to its parent stub. |
Methods inherited from interface org.jboss.ha.client.loadbalance.LoadBalancePolicy |
---|
chooseTarget |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
void init(HARMIClient father)
father
- The stub that owns the policyObject chooseTarget(org.jboss.ha.framework.interfaces.FamilyClusterInfo clusterFamily, Invocation routingDecision)
clusterFamily
- A list of potential target nodesroutingDecision
- The actual invocation object if the policy wants
to have some kind of invocation-based routing strategy
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |