org.objectweb.proactive.loadbalancing.metrics
Interface Metric

All Known Implementing Classes:
CurrentTimeMillisMetric, LinuxCPURanking

public interface Metric


Method Summary
 double getLoad()
           
 double getRanking()
           
 void takeDecision(LoadBalancer lb)
          This method has to call the methods : - stealWork or - startBalancing according to the load
 

Method Detail

takeDecision

void takeDecision(LoadBalancer lb)
This method has to call the methods : - stealWork or - startBalancing according to the load

Parameters:
lb - the LoadBalancer

getRanking

double getRanking()

getLoad

double getLoad()


Copyright 2001-2007 INRIA All Rights Reserved.