com.sun.grid.loadsensor.examples
Class SimpleLoadSensor

java.lang.Object
  extended by com.sun.grid.loadsensor.examples.SimpleLoadSensor
All Implemented Interfaces:
LoadSensor

public class SimpleLoadSensor
extends java.lang.Object
implements LoadSensor


Field Summary
 
Fields inherited from interface com.sun.grid.loadsensor.LoadSensor
MEASURE_ON_DEMAND
 
Constructor Summary
SimpleLoadSensor()
           
 
Method Summary
 void doMeasurement()
           
 java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getLoadValues()
           
 int getMeasurementInterval()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleLoadSensor

public SimpleLoadSensor()
Method Detail

getMeasurementInterval

public int getMeasurementInterval()
Specified by:
getMeasurementInterval in interface LoadSensor

doMeasurement

public void doMeasurement()
Specified by:
doMeasurement in interface LoadSensor

getLoadValues

public java.util.Map<java.lang.String,java.util.Map<java.lang.String,java.lang.String>> getLoadValues()
Specified by:
getLoadValues in interface LoadSensor