| |
|
| java.lang.Object org.griphyn.cPlanner.visualize.spaceusage.JobSpace
JobSpace | public class JobSpace (Code) | | A data class that associates at most three space reading with the job
corresponding to the GRIDSTART_PREJOB, GRIDSTART_MAINJOB and GRIDSTART_POSTJOB.
author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Constructor Summary | |
public | JobSpace() The default constructor. | public | JobSpace(String name) The overloaded constructor. |
Method Summary | |
public void | addSpaceReading(Space space, int type) Adds a space record for a particular event type. | public Space | getSpaceReading(int type) Returns the space reading for a particular type of job of event.
Parameters: type - event type. | public Iterator | spaceReadingsIterator() Returns the readings iterator. | public String | toString() Returns a textual description of the object. | public boolean | typeInRange(int type) Returns a boolean indicating whether the event type is in range of not. |
GRIDSTART_MAINJOB_EVENT_TYPE | final public static int GRIDSTART_MAINJOB_EVENT_TYPE(Code) | | The MAINJOB data index.
|
GRIDSTART_POSTJOB_EVENT_TYPE | final public static int GRIDSTART_POSTJOB_EVENT_TYPE(Code) | | The POSTJOB data index.
|
GRIDSTART_PREJOB_EVENT_TYPE | final public static int GRIDSTART_PREJOB_EVENT_TYPE(Code) | | The PREJOB data index.
|
JobSpace | public JobSpace()(Code) | | The default constructor.
|
JobSpace | public JobSpace(String name)(Code) | | The overloaded constructor.
Parameters: name - the name of the job |
addSpaceReading | public void addSpaceReading(Space space, int type)(Code) | | Adds a space record for a particular event type.
Parameters: space - the space record. Parameters: type - the type of job |
getSpaceReading | public Space getSpaceReading(int type)(Code) | | Returns the space reading for a particular type of job of event.
Parameters: type - event type. Space object if data exists else null |
spaceReadingsIterator | public Iterator spaceReadingsIterator()(Code) | | Returns the readings iterator. Values can be null.
iterator to space readings. |
toString | public String toString()(Code) | | Returns a textual description of the object.
description |
typeInRange | public boolean typeInRange(int type)(Code) | | Returns a boolean indicating whether the event type is in range of not.
Parameters: type - the type value |
|
|
|