this.data = null;
};
+ @Override
public String toString (){
return this.name;
public native void off();
- /**
- * This method returns the number of tasks currently running on a host.
- * The external load is not taken in account.
- *
- * @return The number of tasks currently running on a host.
- */
- public native int getLoad();
-
/**
* This method returns the speed of the processor of a host,
* regardless of the current load of the machine.
*/
public native String[] getAttachedStorage();
+ /** Returns the amount of Joules consumed by that host so far */
+ public native double getConsumedEnergy();
/**
* Class initializer, to initialize various JNI stuff