org.gridrm.client.utilities.sorma.monitoring
Class Job

java.lang.Object
  extended by org.gridrm.client.utilities.sorma.monitoring.Job

public class Job
extends Object


Constructor Summary
Job()
           
 
Method Summary
 ResultSet getMeasurements()
          Return the measurements that have been captured so far
 Date getStartTime()
          The time that the process started to execute on the resource, or null if the process has not started yet (e.g.
 Date getStopTime()
          The time that the process stopped executing on the resource.
 boolean isRunning()
          Determine if the job is running.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Job

public Job()
Method Detail

getStartTime

public Date getStartTime()
The time that the process started to execute on the resource, or null if the process has not started yet (e.g. it is sitting in a job queue pending execution).

Returns:
Date

getStopTime

public Date getStopTime()
The time that the process stopped executing on the resource.

Returns:
Date

isRunning

public boolean isRunning()
Determine if the job is running.

Returns:

getMeasurements

public ResultSet getMeasurements()
Return the measurements that have been captured so far

Returns:
ResultSet of resource utilisation measurements


Copyright © 2007 Garry Smith. All Rights Reserved.