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) |
TaskStartedEvent(org.apache.tez.dag.records.TezTaskID taskId,
String vertexName,
long scheduledTime,
long startTime,
TaskState state) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.TaskStartedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
HistoryEventType |
getEventType() |
long |
getScheduledTime() |
long |
getStartTime() |
TaskState |
getState() |
org.apache.tez.dag.records.TezTaskID |
getTaskID() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.TaskStartedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
public TaskStartedEvent(org.apache.tez.dag.records.TezTaskID taskId,
String vertexName,
long scheduledTime,
long startTime)
public TaskStartedEvent(org.apache.tez.dag.records.TezTaskID taskId,
String vertexName,
long scheduledTime,
long startTime,
TaskState state)
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(com.google.protobuf.CodedOutputStream outputStream)
throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(com.google.protobuf.CodedInputStream inputStream)
throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.tez.dag.records.TezTaskID getTaskID()
public long getScheduledTime()
public long getStartTime()
public TaskState getState()
Copyright © 2019 Apache Software Foundation. All rights reserved.