com.sun.grid.jgdi.monitoring
public interface TaskSummary
Modifier and Type | Method and Description |
---|---|
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
|
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
.Copyright © 2007 Sun Microsystems, Inc. All rights reserved.