|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.isi.pegasus.planner.visualize.nodeusage.NumJobsMeasurement
public class NumJobsMeasurement
Stores the number of jobs as an integer.
| Field Summary | |
|---|---|
private String |
mAssociatedJob
The jobname for which the reading was taken. |
private Date |
mDate
Holds the timestamp when usage was taken. |
private Integer |
mNum
The number of jobs. |
| Constructor Summary | |
|---|---|
NumJobsMeasurement(Date d,
Integer num,
String name)
The overloaded constructor. |
|
| Method Summary | |
|---|---|
String |
getJobName()
Returns the job for which the measurement was taken. |
Date |
getTime()
Returns the time at which the measurement was taken. |
Object |
getValue()
Returns the value of the measurement. |
void |
setJobName(String name)
Sets the job for which the measurement was taken. |
void |
setTime(Date time)
Sets the time at which the measurement was taken. |
void |
setValue(Object value)
Sets the value of the measurement. |
String |
toString()
Returns textual description. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private Date mDate
private Integer mNum
private String mAssociatedJob
| Constructor Detail |
|---|
public NumJobsMeasurement(Date d,
Integer num,
String name)
d - the date.num - the numbername - the jobname.| Method Detail |
|---|
public String getJobName()
getJobName in interface Measurementpublic Date getTime()
getTime in interface Measurementpublic Object getValue()
getValue in interface Measurementpublic void setJobName(String name)
setJobName in interface Measurementname - sets the name of the job.public void setTime(Date time)
setTime in interface Measurementtime - the Date object representing the time.public void setValue(Object value)
setValue in interface Measurementvalue - the value to be associated with measurement.public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||