|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.util.AbstractMap | +--java.util.HashMap | +--edg.workload.userinterface.jclient.InfoLB | +--edg.workload.userinterface.jclient.JobStatus
LB JobStatus Class Wrap.
This class represents the status of a job, retrieved from the LB server. During its lifecycle a job can likely change the status, and almost all of its attributes.
Field Summary | |
static int |
ABORTED
Return Status Code: Aborted by system (at any stage) |
static int |
ACL
JobStatus Attribute: Acl |
static java.lang.String[] |
attNames
The String irepresentation of the attribute names |
static int |
CANCEL_REASON
JobStatus Attribute: Cancel Reason |
static int |
CANCELLED
Return Status Code: Cancelled by user |
static int |
CANCELLING
JobStatus Attribute: Cancellation request |
static int |
CE_NODE
Worker node where the job is executed |
static int |
CHILDREN
list of subjob IDs |
static int |
CHILDREN_HIST
summary (histogram) of children job states |
static int |
CHILDREN_NUM
number of subjobs |
static int |
CHILDREN_STATES
full status information of the children |
static int |
CLEARED
Return Status Code: Output transfered back to user and freed |
static java.lang.String[] |
code
String representation of the attribute codes |
static int |
CONDOR_ID
Id within Condor-G |
static int |
CONDOR_JDL
ClassAd passed to Condor-G for last job execution |
static int |
CPU_TIME
Consumed CPU time |
static int |
DESTINATION
JobStatus Attribute: Ce Id |
static int |
DONE
Return Status Code: Execution finished, output not yet available |
static int |
DONE_CODE
Return code |
static int |
EXIT_CODE
Unix exit code |
static int |
EXPECT_FROM
Sources of the missing information |
static int |
EXPECT_UPDATE
JobStatus Attribute: Logged information not arrived |
static int |
GLOBUS_ID
JobStatus Attribute: Globus allocated Id |
static int |
JDL
JobStatus Attribute: Job Description Language |
static int |
JOB_ID
JobStatus Attribute: JobId |
static int |
JOBTYPE
Type of job |
static int |
JOBTYPE_DAG
|
static int |
JOBTYPE_JOB
|
static int |
LAST_UPDATE_TIME
JobStatus Attribute: Last known event of the job |
static int |
LOCAL_ID
JobStatus Attribute: Id within LRMS |
static int |
LOCATION
JobStatus Attribute: Location |
static int |
MATCHED_JDL
Full job description after matchmaking |
static int |
NETWORK_SERVER
Network server handling the job |
static int |
OWNER
JobStatus Attribute: Job owner |
static int |
PARENT_JOB
parent job of subjob |
static int |
PURGED
Return Status Code: Status cannot be determined |
static int |
READY
Return Status Code: Matching resources found |
static int |
REASON
JobStatus Attribute: Status Reason |
static int |
RESUBMITTED
JobStatus Attribute: The job was resubmitted |
static int |
RSL
JobStatus Attribute: RSL to Globus |
static int |
RUNNING
Return Status Code: Executable is running |
static int |
SCHEDULED
Return Status Code: Accepted by LRMS queue |
static int |
SEED
JobStatus Attribute: string used for generation of subjob IDs |
static int |
STATE_ENTER_TIME
JobStatus Attribute: Status enter time |
static int |
STATE_ENTER_TIMES
JobStatus Attribute: When all previous states were entered |
static int |
STATUS
JobStatus Attribute: The Status of the job |
static int |
STATUS_CODE
|
static int |
SUBJOB_FAILED
JobStatus Attribute: Subjob failed (the parent job will fail too) |
static int |
SUBMITTED
Return Status Code: Just submitted by user interface |
static int |
UNDEF
Return Status Code: indicates invalid, i.e. uninitialized instance |
static int |
UNKNOWN
Return Status Code: Status cannot be determined |
static int |
USER_TAGS
JobStatus Attribute: List of user-specified information tags |
static int |
WAITING
Return Status Code: Accepted by WMS, waiting for resource allocation |
Fields inherited from class edg.workload.userinterface.jclient.InfoLB |
DEFAULT_LOG_LEVEL, HIGH_LOG_LEVEL, NORMAL_LOG_LEVEL |
Constructor Summary | |
JobStatus()
Default Constructor |
Method Summary | |
int |
code()
Current status code as an int, see possible values: |
java.util.Vector |
getSubJobs()
Retrieve all the sub jobs status information as vector of JobStatus instances |
java.lang.String |
name()
Current status name. |
java.lang.String |
toString()
String representation of all the status attributes |
java.lang.String |
toString(int level)
String representation for the status attributes |
Methods inherited from class edg.workload.userinterface.jclient.InfoLB |
get, getValInt, getValString |
Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
Methods inherited from class java.util.AbstractMap |
equals, hashCode |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.Map |
equals, hashCode |
Field Detail |
public static final java.lang.String[] attNames
public static final int JOBTYPE_DAG
public static final int JOBTYPE_JOB
public static final int ACL
public static final int CANCEL_REASON
public static final int CANCELLING
public static final int CE_NODE
public static final int CHILDREN
public static final int CHILDREN_HIST
public static final int CHILDREN_NUM
public static final int CHILDREN_STATES
public static final int CONDOR_ID
public static final int CONDOR_JDL
public static final int CPU_TIME
public static final int DESTINATION
public static final int DONE_CODE
public static final int EXIT_CODE
public static final int EXPECT_FROM
public static final int EXPECT_UPDATE
public static final int GLOBUS_ID
public static final int JDL
public static final int JOB_ID
public static final int JOBTYPE
public static final int LAST_UPDATE_TIME
public static final int LOCAL_ID
public static final int LOCATION
public static final int MATCHED_JDL
public static final int NETWORK_SERVER
public static final int OWNER
public static final int PARENT_JOB
public static final int REASON
public static final int RESUBMITTED
public static final int RSL
public static final int SEED
public static final int STATE_ENTER_TIME
public static final int STATE_ENTER_TIMES
public static final int SUBJOB_FAILED
public static final int USER_TAGS
public static final int STATUS
public static final int STATUS_CODE
public static final java.lang.String[] code
name()
,
code()
public static final int UNDEF
public static final int SUBMITTED
public static final int WAITING
public static final int READY
public static final int SCHEDULED
public static final int RUNNING
public static final int DONE
public static final int CLEARED
public static final int ABORTED
public static final int CANCELLED
public static final int UNKNOWN
public static final int PURGED
Constructor Detail |
public JobStatus()
Method Detail |
public java.lang.String name()
code()
public int code()
UNDEF
,
SUBMITTED
,
WAITING
,
READY
,
SCHEDULED
,
RUNNING
,
DONE
,
CLEARED
,
ABORTED
,
CANCELLED
,
UNKNOWN
,
PURGED
,
name()
public java.lang.String toString()
toString
in class InfoLB
public java.util.Vector getSubJobs()
public java.lang.String toString(int level)
level
- of verbosity, can be 0 (minimal) 1(normal) or 2 (high)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |