public class VertexStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
VertexStartedEvent() |
VertexStartedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
long startRequestedTime,
long startTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexStartedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
HistoryEventType |
getEventType() |
long |
getStartRequestedTime() |
long |
getStartTime() |
org.apache.tez.dag.records.TezVertexID |
getVertexID() |
VertexState |
getVertexState() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexStartedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public VertexStartedEvent()
public VertexStartedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
long startRequestedTime,
long startTime)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexStartedProto toProto()
public void fromProto(RecoveryProtos.VertexStartedProto 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.TezVertexID getVertexID()
public long getStartRequestedTime()
public long getStartTime()
public VertexState getVertexState()
Copyright © 2015 Apache Software Foundation. All rights reserved.