org.objectweb.proactive.loadbalancing.metrics.currenttimemillis
Class CurrentTimeMillisMetric

java.lang.Object
  extended by org.objectweb.proactive.loadbalancing.metrics.currenttimemillis.CurrentTimeMillisMetric
All Implemented Interfaces:
Metric

public class CurrentTimeMillisMetric
extends java.lang.Object
implements Metric


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

CurrentTimeMillisMetric

public CurrentTimeMillisMetric(double creationTime)
Method Detail

takeDecision

public void takeDecision(LoadBalancer lb)
Description copied from interface: Metric
This method has to call the methods : - stealWork or - startBalancing according to the load

Specified by:
takeDecision in interface Metric
Parameters:
lb - the LoadBalancer

getRanking

public double getRanking()
Specified by:
getRanking in interface Metric

getLoad

public double getLoad()
Specified by:
getLoad in interface Metric


Copyright 2001-2007 INRIA All Rights Reserved.