@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskStartedEvent(TaskID id,
long startTime,
TaskType taskType,
String splitLocations)
Create an event to record start of a task
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
public Object getDatum()
HistoryEventgetDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEventsetDatum in interface HistoryEventpublic TaskID getTaskId()
public String getSplitLocations()
public long getStartTime()
public TaskType getTaskType()
public EventType getEventType()
getEventType in interface HistoryEventCopyright © 2016 Apache Software Foundation. All Rights Reserved.