|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.proactive.loadbalancing.metrics.currenttimemillis.CurrentTimeMillisMetric
public class CurrentTimeMillisMetric
Constructor Summary | |
---|---|
CurrentTimeMillisMetric(double creationTime)
|
Method Summary | |
---|---|
double |
getLoad()
|
double |
getRanking()
|
void |
takeDecision(LoadBalancer lb)
This method has to call the methods : - stealWork or - startBalancing according to the load |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CurrentTimeMillisMetric(double creationTime)
Method Detail |
---|
public void takeDecision(LoadBalancer lb)
Metric
takeDecision
in interface Metric
lb
- the LoadBalancerpublic double getRanking()
getRanking
in interface Metric
public double getLoad()
getLoad
in interface Metric
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |