public class VertexGroupCommitStartedEvent extends Object implements HistoryEvent, SummaryEvent
| Constructor and Description |
|---|
VertexGroupCommitStartedEvent() |
VertexGroupCommitStartedEvent(org.apache.tez.dag.records.TezDAGID dagID,
String vertexGroupName,
long commitStartTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexGroupCommitStartedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
void |
fromSummaryProtoStream(RecoveryProtos.SummaryEventProto proto) |
org.apache.tez.dag.records.TezDAGID |
getDagID() |
HistoryEventType |
getEventType() |
String |
getVertexGroupName() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexGroupCommitStartedProto |
toProto() |
void |
toProtoStream(OutputStream 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 VertexGroupCommitStartedEvent()
public VertexGroupCommitStartedEvent(org.apache.tez.dag.records.TezDAGID dagID,
String vertexGroupName,
long commitStartTime)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexGroupCommitStartedProto toProto()
public void fromProto(RecoveryProtos.VertexGroupCommitStartedProto proto)
public void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic String getVertexGroupName()
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 SummaryEventpublic org.apache.tez.dag.records.TezDAGID getDagID()
Copyright © 2015 Apache Software Foundation. All rights reserved.