Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

JobStatus Class Reference

Description of job status. More...

List of all members.

Public Types

enum  Code {
  UNDEF = 0, SUBMITTED, WAITING, READY,
  SCHEDULED, RUNNING, DONE, CLEARED,
  ABORTED, CANCELLED, UNKNOWN, PURGED
}
enum  Attr {
  ACL, CANCEL_REASON, CANCELLING, CE_NODE,
  CHILDREN, CHILDREN_HIST, CHILDREN_NUM, CHILDREN_STATES,
  CONDOR_ID, CONDOR_JDL, CPU_TIME, DESTINATION,
  DONE_CODE, EXIT_CODE, EXPECT_FROM, EXPECT_UPDATE,
  GLOBUS_ID, JDL, JOB_ID, JOBTYPE,
  LAST_UPDATE_TIME, LOCAL_ID, LOCATION, MATCHED_JDL,
  NETWORK_SERVER, OWNER, PARENT_JOB, REASON,
  RESUBMITTED, RSL, SEED, STATE_ENTER_TIME,
  STATE_ENTER_TIMES, SUBJOB_FAILED, USER_TAGS
}
enum  { JOBTYPE_SIMPLE, JOBTYPE_DAG }
enum  { DONE_CODE_OK, DONE_CODE_FAILED, DONE_CODE_CANCELLED }

Public Methods

const std::string & name (void) const
 String representation of the status code.

int getValInt (Attr) const
 Retrieve integer attribute.

std::string getValString (Attr) const
 Retrieve string attribute.

timeval getValTime (Attr) const
 Retrieve time attribute.

const edg::workload::common::jobid::JobId getValJobId (Attr) const
 Retrieve jobid attribute.

bool getValBool (Attr) const
 Retrieve bool attribute.

const std::vector< int > getValIntList (Attr) const
 Retrieve int list attribute.

const std::vector< std::string > getValStringList (Attr) const
 Retrieve string list attribute.

const std::vector< std::pair<
std::string, std::string > > 
getValTagList (Attr) const
 Retrieve tag list attribute.

const std::vector< JobStatus > getValJobStatusList (Attr) const
 Retrieve job status list attribute.

const std::string & getAttrName (Attr) const
 Attribute name.

const std::vector< std::pair<
Attr, AttrType > > & 
getAttrs (void) const
 List of attributes and types valid for this instance.


Public Attributes

Code status
 Numeric status code.


Friends

class Job


Detailed Description

Description of job status.

The status is computed from a sequence of logged events


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
JOBTYPE_SIMPLE  simple job.
JOBTYPE_DAG  composite job.

anonymous enum
 

Enumeration values:
DONE_CODE_OK  Finished correctly.
DONE_CODE_FAILED  Execution failed.
DONE_CODE_CANCELLED  Cancelled by user.

enum Attr
 

Enumeration values:
ACL  ACL of the job.
CANCEL_REASON  Reason of cancel.
CANCELLING  Cancellation request in progress.
CE_NODE  Worker node where the job is executed.
CHILDREN  list of subjob IDs.
CHILDREN_HIST  summary (histogram) of children job states.
CHILDREN_NUM  number of subjobs.
CHILDREN_STATES  full status information of the children.
CONDOR_ID  Id within Condor-G.
CONDOR_JDL  ClassAd passed to Condor-G for last job execution.
CPU_TIME  Consumed CPU time.
DESTINATION  ID of CE where the job is being sent.
DONE_CODE  Return code.
EXIT_CODE  Unix exit code.
EXPECT_FROM  Sources of the missing information.
EXPECT_UPDATE  Some logged information has not arrived yet.
GLOBUS_ID  Globus allocated Id.
JDL  User submitted job description.
JOB_ID  Id of the job.
JOBTYPE  Type of job.
LAST_UPDATE_TIME  Last known event of the job.
LOCAL_ID  Id within LRMS.
LOCATION  Where the job is being processed.
MATCHED_JDL  Full job description after matchmaking.
NETWORK_SERVER  Network server handling the job.
OWNER  Job owner.
PARENT_JOB  parent job of subjob.
REASON  Reason of being in this status, if any.
RESUBMITTED  The job was resubmitted.
RSL  Job RSL sent to Globus.
SEED  string used for generation of subjob IDs.
STATE_ENTER_TIME  When entered this status.
STATE_ENTER_TIMES  When all previous states were entered.
SUBJOB_FAILED  Subjob failed (the parent job will fail too).
USER_TAGS  List of pairs (user_tag, user_value).

enum Code
 

Enumeration values:
UNDEF  indicates invalid, i.e.

uninitialized instance

SUBMITTED  entered by the user to the User Interface or registered by Job Partitioner.
WAITING  Accepted by WMS, waiting for resource allocation.
READY  Matching resources found.
SCHEDULED  Accepted by LRMS queue.
RUNNING  Executable is running.
DONE  Execution finished, output is available.
CLEARED  Output transfered back to user and freed.
ABORTED  Aborted by system (at any stage).
CANCELLED  Cancelled by user.
UNKNOWN  Status cannot be determined.
PURGED  Job has been purged from bookkeeping server (for LB->RGMA interface).


The documentation for this class was generated from the following file:
Generated on Fri May 14 14:19:01 2004 for L&B API CPP by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002