|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskSummary
Instances of this class hold the information for a task of a job.
Method Summary | |
---|---|
double |
getCpuUsage()
Get the cpu usage of the task. |
int |
getExitStatus()
Get the exit status of the task. |
double |
getIoUsage()
Get the io usage of the task. |
double |
getMemUsage()
Get the mem usage of the task. |
java.lang.String |
getState()
Get the state of the task |
java.lang.String |
getTaskId()
Get the task id. |
boolean |
hasCpuUsage()
Determine if the task has cpu usage |
boolean |
hasExitStatus()
Determine if the task has an exit status. |
boolean |
hasIoUsage()
Determine if the task has io usage |
boolean |
hasMemUsage()
Determine if the task has mem usage |
boolean |
isRunning()
Determine if the task is running |
Method Detail |
---|
java.lang.String getTaskId()
java.lang.String getState()
boolean hasCpuUsage()
true
if the task has cpu usagedouble getCpuUsage()
hasCpuUsage()
returns true.
boolean hasMemUsage()
true
if the task has mem usagedouble getMemUsage()
hasMemUsage()
returns true.
boolean hasIoUsage()
true
if the task has io usagedouble getIoUsage()
hasIoUsage()
returns true.
boolean isRunning()
true
if task is runningboolean hasExitStatus()
true
if the task has an exit statusint getExitStatus()
hasExitStatus()
returns true
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |