| java.lang.Object org.griphyn.cPlanner.visualize.nodeusage.NumJobsMeasurement
NumJobsMeasurement | public class NumJobsMeasurement implements Measurement(Code) | | Stores the number of jobs as an integer.
author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Method Summary | |
public String | getJobName() Returns the job for which the measurement was taken. | public Date | getTime() Returns the time at which the measurement was taken. | public Object | getValue() Returns the value of the measurement. | public void | setJobName(String name) Sets the job for which the measurement was taken. | public void | setTime(Date time) Sets the time at which the measurement was taken. | public void | setValue(Object value) Sets the value of the measurement. | public String | toString() Returns textual description. |
NumJobsMeasurement | public NumJobsMeasurement(Date d, Integer num, String name)(Code) | | The overloaded constructor.
Parameters: d - the date. Parameters: num - the number Parameters: name - the jobname. |
getJobName | public String getJobName()(Code) | | Returns the job for which the measurement was taken.
the name of the job. |
getTime | public Date getTime()(Code) | | Returns the time at which the measurement was taken.
the Date object representing the time. |
getValue | public Object getValue()(Code) | | Returns the value of the measurement.
the value. |
setJobName | public void setJobName(String name)(Code) | | Sets the job for which the measurement was taken.
Parameters: sets - the name of the job. |
setTime | public void setTime(Date time)(Code) | | Sets the time at which the measurement was taken.
Parameters: time - the Date object representing the time. |
setValue | public void setValue(Object value)(Code) | | Sets the value of the measurement.
Parameters: value - the value to be associated with measurement. |
toString | public String toString()(Code) | | Returns textual description.
String |
|
|