@InterfaceAudience.Private @InterfaceStability.Unstable public class TaskUpdatedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskUpdatedEvent(TaskID id,
long finishTime)
Create an event to record task updates
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getDatum()
Return the Avro datum wrapped by this.
|
EventType |
getEventType()
Get the event type
|
long |
getFinishTime()
Get the task finish time
|
TaskID |
getTaskId()
Get the task ID
|
void |
setDatum(Object datum)
Set the Avro datum wrapped by this.
|
public TaskUpdatedEvent(TaskID id, long finishTime)
id - Id of the taskfinishTime - Finish time of the taskpublic Object getDatum()
HistoryEventgetDatum in interface HistoryEventpublic void setDatum(Object datum)
HistoryEventsetDatum in interface HistoryEventpublic TaskID getTaskId()
public long getFinishTime()
public EventType getEventType()
getEventType in interface HistoryEventCopyright © 2016 Apache Software Foundation. All Rights Reserved.