public abstract class TaskAttemptInfo extends Object
TaskAttemptInfo
is a collection of statistics about a particular
task-attempt gleaned from job-history of the job.限定符和类型 | 字段和说明 |
---|---|
protected TaskStatus.State |
state |
protected TaskInfo |
taskInfo |
限定符 | 构造器和说明 |
---|---|
protected |
TaskAttemptInfo(TaskStatus.State state,
TaskInfo taskInfo) |
限定符和类型 | 方法和说明 |
---|---|
TaskStatus.State |
getRunState()
Get the final
TaskStatus.State of the task-attempt. |
abstract long |
getRuntime()
Get the total runtime for the task-attempt.
|
TaskInfo |
getTaskInfo()
Get the
TaskInfo for the given task-attempt. |
protected final TaskStatus.State state
protected final TaskInfo taskInfo
protected TaskAttemptInfo(TaskStatus.State state, TaskInfo taskInfo)
public TaskStatus.State getRunState()
TaskStatus.State
of the task-attempt.State
of the task-attemptpublic abstract long getRuntime()
Copyright © 2009 The Apache Software Foundation