|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.hadoop.mapreduce.jobhistory.TaskFinishedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskFinishedEvent
Event to record the successful completion of a task
Constructor Summary | |
---|---|
TaskFinishedEvent(TaskID id,
TaskAttemptID attemptId,
long finishTime,
TaskType taskType,
String status,
Counters counters)
Create an event to record the successful completion of a task |
Method Summary | |
---|---|
Counters |
getCounters()
Get task counters |
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get event type |
long |
getFinishTime()
Get the task finish time |
TaskAttemptID |
getSuccessfulTaskAttemptId()
Get successful task attempt id |
TaskID |
getTaskId()
Get task id |
String |
getTaskStatus()
Get task status |
TaskType |
getTaskType()
Get task type |
void |
setDatum(Object oDatum)
Set the Avro datum wrapped by this. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskFinishedEvent(TaskID id, TaskAttemptID attemptId, long finishTime, TaskType taskType, String status, Counters counters)
id
- Task IDattemptId
- Task Attempt ID of the successful attempt for this taskfinishTime
- Finish time of the tasktaskType
- Type of the taskstatus
- Status stringcounters
- Counters for the taskMethod Detail |
---|
public Object getDatum()
HistoryEvent
getDatum
in interface HistoryEvent
public void setDatum(Object oDatum)
HistoryEvent
setDatum
in interface HistoryEvent
public TaskID getTaskId()
public TaskAttemptID getSuccessfulTaskAttemptId()
public long getFinishTime()
public Counters getCounters()
public TaskType getTaskType()
public String getTaskStatus()
public EventType getEventType()
getEventType
in interface HistoryEvent
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |