| java.lang.Object org.griphyn.cPlanner.visualize.spaceusage.SpaceUsageCallback org.griphyn.cPlanner.visualize.spaceusage.TailStatd
TailStatd | public class TailStatd extends SpaceUsageCallback (Code) | | The callback parses the jobstate.log file to order the events of how
the jobs executed.
author: Karan Vahi vahi@isi.edu version: $Revision: 50 $ |
Constructor Summary | |
public | TailStatd() The default constructor. |
Method Summary | |
public void | cbInvocationStart(String job, String resource) Callback for the starting of an invocation record. | public void | initialize(String directory, boolean useStatInfo) Initializes the callback. | protected Space | parseContent(String header, String content) Parses the content and stores it in a SpaceUsage object.
The date is taken from the jobstate.log instead of the date in the record.
Parameters: header - the header from which the content was collected. Parameters: content - the Content. | protected boolean | validState(String state) Returns a boolean indicating whether the state is valid or not. |
GRIDSTART_MAINJOB_STATE | final public static String GRIDSTART_MAINJOB_STATE(Code) | | The state in the jobstate that is taken to designate the GRIDSTART_MAINJOB
time.
|
GRIDSTART_POSTJOB_STATE | final public static String GRIDSTART_POSTJOB_STATE(Code) | | The state in the jobstate that is taken to designate the GRIDSTART_POSTJOB
time.
|
GRIDSTART_PREJOB_STATE | final public static String GRIDSTART_PREJOB_STATE(Code) | | The state in the jobstate that is taken to designate the GRIDSTART_PREJOB
time.
|
JOBSTATE_LOG | final public static String JOBSTATE_LOG(Code) | | The name of the tailstatd file.
|
TailStatd | public TailStatd()(Code) | | The default constructor.
|
cbInvocationStart | public void cbInvocationStart(String job, String resource)(Code) | | Callback for the starting of an invocation record.
Parameters: job - the job/file being parsed. Parameters: resource - the site id where the job was executed. |
initialize | public void initialize(String directory, boolean useStatInfo)(Code) | | Initializes the callback.
Parameters: directory - the directory where all the files reside. Parameters: useStatInfo - boolean indicating whether to use stat info or not. |
parseContent | protected Space parseContent(String header, String content)(Code) | | Parses the content and stores it in a SpaceUsage object.
The date is taken from the jobstate.log instead of the date in the record.
Parameters: header - the header from which the content was collected. Parameters: content - the Content. Space |
validState | protected boolean validState(String state)(Code) | | Returns a boolean indicating whether the state is valid or not.
Parameters: state - the state boolean |
|
|