|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ggf.drmaa.JobInfo
com.sun.grid.drmaa.JobInfoImpl
This class provides information about a completed Grid Engine job.
JobInfo
,
Serialized FormField Summary |
Fields inherited from class org.ggf.drmaa.JobInfo |
jobId, resourceUsage, status |
Method Summary | |
int |
getExitStatus()
If hasExited() returns true, this function returns the exit code that the job passed to _exit() (see exit(2)) or exit(3C), or the value that the child process returned from main. |
java.lang.String |
getTerminatingSignal()
If hasSignaled() returns true, this method returns a representation of the signal that caused the termination of the job. |
boolean |
hasCoreDump()
If hasSignaled() returns true, this function returns true if a core image of the terminated job was created. |
boolean |
hasExited()
Returns true if the job terminated normally. |
boolean |
hasSignaled()
Returns true if the job terminated due to the receipt
of a signal. |
boolean |
wasAborted()
Returns true if the job ended before entering the running state. |
Methods inherited from class org.ggf.drmaa.JobInfo |
getJobId, getResourceUsage |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public int getExitStatus()
getExitStatus
in class JobInfo
public java.lang.String getTerminatingSignal()
getTerminatingSignal
in class JobInfo
public boolean hasCoreDump()
hasCoreDump
in class JobInfo
public boolean hasExited()
true
if the job terminated normally.
False
can also indicate that
although the job has terminated normally an exit status is not available
or that it is not known whether the job terminated normally. In both
cases getExitStatus() will not provide exit status information.
True
indicates more detailed diagnosis can be provided
by means of getExitStatus().
hasExited
in class JobInfo
public boolean hasSignaled()
true
if the job terminated due to the receipt
of a signal. False
can also indicate that although the
job has terminated due to the receipt of a signal the signal is not
available or that it is not known whether the job terminated due to
the receipt of a signal. In both cases getTerminatingSignal() will
not provide signal information.
hasSignaled
in class JobInfo
public boolean wasAborted()
wasAborted
in class JobInfo
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |