|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 clustered services (home interface of SLSB for example)
Field Summary | |
---|---|
static long |
serialVersionUID
The serialVersionUID |
Method Summary | |
---|---|
Object |
chooseTarget(FamilyClusterInfo clusterFamily)
Gets the target for the next remote call. |
Field Detail |
---|
static final long serialVersionUID
Method Detail |
---|
Object chooseTarget(FamilyClusterInfo clusterFamily)
Called when the client wishes to know on which node the next invocation must be performed.
clusterFamily
- object encapsulating a list of potential target nodes
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |