|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.hadoop.mapreduce.jobhistory.TaskStartedEvent
@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskStartedEvent
Event to record the start of a task
| Constructor Summary | |
|---|---|
TaskStartedEvent(TaskID id,
long startTime,
TaskType taskType,
String splitLocations)
Create an event to record start of a task |
|
| Method Summary | |
|---|---|
Object |
getDatum()
Return the Avro datum wrapped by this. |
EventType |
getEventType()
Get the event type |
String |
getSplitLocations()
Get the split locations, applicable for map tasks |
long |
getStartTime()
Get the start time of the task |
TaskID |
getTaskId()
Get the task id |
TaskType |
getTaskType()
Get the task type |
void |
setDatum(Object datum)
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 TaskStartedEvent(TaskID id,
long startTime,
TaskType taskType,
String splitLocations)
id - Task IdstartTime - Start time of the tasktaskType - Type of the tasksplitLocations - Split locations, applicable for map tasks| Method Detail |
|---|
public Object getDatum()
HistoryEvent
getDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEvent
setDatum in interface HistoryEventpublic TaskID getTaskId()
public String getSplitLocations()
public long getStartTime()
public TaskType getTaskType()
public EventType getEventType()
getEventType in interface HistoryEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||