org.ow2.carol.cmi.lb.strategy
Interface ILBStrategy<T extends LoadBalanceable>
- Type Parameters:
T - The type of object that was load-balanced
public interface ILBStrategy<T extends LoadBalanceable>
Interface of the load-balancing strategies.
A strategy allows to modify a list of load-balanceables before applying a policy to elect only one load-balanceable.
- Author:
- The new CMI team
|
Method Summary |
java.util.List<T> |
choose(java.util.List<T> loadBalanceables)
Returns a new list of load-balanceables by modifying the given list. |
choose
java.util.List<T> choose(java.util.List<T> loadBalanceables)
- Returns a new list of load-balanceables by modifying the given list.
- Parameters:
loadBalanceables - a list of load-balanceables
- Returns:
- a new list of load-balanceables by modifying the given list
Copyright © 2008 OW2 Consortium. All Rights Reserved.