public class TaskStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
TaskStartedEvent() |
TaskStartedEvent(org.apache.tez.dag.records.TezTaskID taskId,
String vertexName,
long scheduledTime,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskStartedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
HistoryEventType |
getEventType() |
long |
getScheduledTime() |
long |
getStartTime() |
org.apache.tez.dag.records.TezTaskID |
getTaskID() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskStartedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public TaskStartedEvent(org.apache.tez.dag.records.TezTaskID taskId,
String vertexName,
long scheduledTime,
long startTime)
public TaskStartedEvent()
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.TaskStartedProto toProto()
public void fromProto(RecoveryProtos.TaskStartedProto proto)
public void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.tez.dag.records.TezTaskID getTaskID()
public long getScheduledTime()
public long getStartTime()
Copyright © 2014 Apache Software Foundation. All rights reserved.