|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jppf.management.TaskInformation
public class TaskInformation
Instances of this class encapsulate runtime information on tasks executed by a node.
| Constructor Summary | |
|---|---|
TaskInformation(String id,
String jobId,
long cpuTime,
long elapsedTime,
boolean error)
Initialize this event object with the specified task. |
|
| Method Summary | |
|---|---|
long |
getCpuTime()
Get the cpu time taken by the task. |
long |
getElapsedTime()
Get the wall clock time taken by the task. |
String |
getId()
Get the task id. |
String |
getJobId()
Get the id of the job this task belongs to. |
long |
getTimestamp()
Get the timestamp for the creation of this event. |
boolean |
hasError()
Determines whether the task had an exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TaskInformation(String id,
String jobId,
long cpuTime,
long elapsedTime,
boolean error)
id - the task id.jobId - the id of the job this task belongs to.cpuTime - the cpu time taken by the task.elapsedTime - the wall clock time taken by the task.error - determines whether the task had an exception.| Method Detail |
|---|
public String getId()
public String getJobId()
public long getCpuTime()
public long getElapsedTime()
public boolean hasError()
public long getTimestamp()
|
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||