|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ow2.cmi.lb.strategy.LoadFactorWeight<T>
T - The type of objects that are load-balancedpublic class LoadFactorWeight<T extends org.ow2.cmi.lb.LoadBalanceable>
Defines a strategy that attributes a weight for each load-balanceable.
| Constructor Summary | |
|---|---|
LoadFactorWeight(org.ow2.cmi.controller.common.ClusterViewManager clusterViewManager)
|
|
| Method Summary | |
|---|---|
java.util.List<T> |
choose(java.util.Collection<T> loadBalanceables)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoadFactorWeight(org.ow2.cmi.controller.common.ClusterViewManager clusterViewManager)
| Method Detail |
|---|
public java.util.List<T> choose(java.util.Collection<T> loadBalanceables)
choose in interface org.ow2.cmi.lb.strategy.IStrategy<T extends org.ow2.cmi.lb.LoadBalanceable>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||