public class VertexCommitStartedEvent extends Object implements HistoryEvent, SummaryEvent
| Constructor and Description |
|---|
VertexCommitStartedEvent() |
VertexCommitStartedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
long commitStartTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexCommitStartedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
void |
fromSummaryProtoStream(RecoveryProtos.SummaryEventProto proto) |
HistoryEventType |
getEventType() |
org.apache.tez.dag.records.TezVertexID |
getVertexID() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexCommitStartedProto |
toProto() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream outputStream) |
String |
toString() |
void |
toSummaryProtoStream(OutputStream outputStream) |
boolean |
writeToRecoveryImmediately()
Whether to write this event immediately to the DAG recovery file
Summary events are always written immediately to summary file.
|
public VertexCommitStartedEvent()
public VertexCommitStartedEvent(org.apache.tez.dag.records.TezVertexID vertexId,
long commitStartTime)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexCommitStartedProto toProto()
public void fromProto(RecoveryProtos.VertexCommitStartedProto 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.TezVertexID getVertexID()
public void toSummaryProtoStream(OutputStream outputStream) throws IOException
toSummaryProtoStream in interface SummaryEventIOExceptionpublic void fromSummaryProtoStream(RecoveryProtos.SummaryEventProto proto) throws IOException
fromSummaryProtoStream in interface SummaryEventIOExceptionpublic boolean writeToRecoveryImmediately()
SummaryEventwriteToRecoveryImmediately in interface SummaryEventCopyright © 2020 Apache Software Foundation. All rights reserved.