| Modifier and Type | Method and Description |
|---|---|
boolean |
canCommit(TaskAttemptId taskAttemptID)
Can the output of the taskAttempt be committed.
|
TaskAttempt |
getAttempt(TaskAttemptId attemptID) |
Map<TaskAttemptId,TaskAttempt> |
getAttempts() |
Counters |
getCounters() |
TaskId |
getID() |
float |
getProgress() |
TaskReport |
getReport() |
TaskState |
getState() |
TaskType |
getType() |
boolean |
isFinished()
Has Task reached the final state or not.
|
public boolean canCommit(TaskAttemptId taskAttemptID)
Taskpublic TaskAttempt getAttempt(TaskAttemptId attemptID)
getAttempt in interface Taskpublic Map<TaskAttemptId,TaskAttempt> getAttempts()
getAttempts in interface Taskpublic Counters getCounters()
getCounters in interface Taskpublic float getProgress()
getProgress in interface Taskpublic TaskReport getReport()
public boolean isFinished()
TaskisFinished in interface TaskCopyright © 2013 Apache Software Foundation. All rights reserved.