|
Public Types |
enum | Code {
UNDEF = 0,
SUBMITTED,
WAITING,
READY,
SCHEDULED,
RUNNING,
DONE,
CLEARED,
ABORTED,
CANCELLED,
UNKNOWN,
PURGED,
CODE_MAX
} |
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,
PAYLOAD_RUNNING,
POSSIBLE_CE_NODES,
POSSIBLE_DESTINATIONS,
REASON,
RESUBMITTED,
RSL,
SEED,
STATE_ENTER_TIME,
STATE_ENTER_TIMES,
SUBJOB_FAILED,
USER_TAGS,
ATTR_MAX
} |
enum | { DONE_CODE_OK,
DONE_CODE_FAILED,
DONE_CODE_CANCELLED
} |
enum | { JOBTYPE_SIMPLE,
JOBTYPE_DAG
} |
enum | AttrType {
INT_T,
STRING_T,
TIMEVAL_T,
BOOL_T,
JOBID_T,
INTLIST_T,
STRLIST_T,
TAGLIST_T,
STSLIST_T
} |
Public Member Functions |
const std::string & | name (void) const |
int | getValInt (Attr name) const |
std::string | getValString (Attr name) const |
timeval | getValTime (Attr name) const |
const glite::wmsutils::jobid::JobId | getValJobId (Attr name) const |
bool | getValBool (Attr name) const |
const std::vector< int > | getValIntList (Attr name) const |
const std::vector< std::string > | getValStringList (Attr name) const |
const std::vector< std::pair<
std::string, std::string > > | getValTagList (Attr name) const |
const std::vector< JobStatus > | getValJobStatusList (Attr name) const |
const std::string & | getAttrName (Attr name) const |
const std::vector< std::pair<
Attr, AttrType > > & | getAttrs (void) const |
| JobStatus (void) |
| JobStatus (const JobStatus &orig) |
JobStatus & | operator= (const JobStatus &orig) |
| JobStatus (const edg_wll_JobStat &src) |
JobStatus & | operator= (const edg_wll_JobStat &src) |
virtual | ~JobStatus () |
Public Attributes |
Code | status |
Protected Member Functions |
edg_wll_JobStat * | c_ptr (void) |
Friends |
class | Job |
class | CountRef< JobStatus > |
This class is used to represent all information about the job status as computed and stored in the bookkeeping server's database. Job status is, like Event, list of attribute -- value pairs. One of the attributes is the job's state as seen by the L&B, ie. something like RUNNING
or * DONE
, other attributes contain more information about the job.
The JobStatus class provides methods for reading values of these attributes and it is used as a result of server queries.