public class VertexGroupCommitFinishedEvent extends Object implements HistoryEvent, SummaryEvent
| Constructor and Description |
|---|
VertexGroupCommitFinishedEvent() |
VertexGroupCommitFinishedEvent(org.apache.tez.dag.records.TezDAGID dagID,
String vertexGroupName,
Collection<org.apache.tez.dag.records.TezVertexID> vertexIds,
long commitFinishTime) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.VertexGroupCommitFinishedProto proto) |
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
void |
fromSummaryProtoStream(RecoveryProtos.SummaryEventProto proto) |
org.apache.tez.dag.records.TezDAGID |
getDagID() |
HistoryEventType |
getEventType() |
String |
getVertexGroupName() |
Collection<org.apache.tez.dag.records.TezVertexID> |
getVertexIds() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.VertexGroupCommitFinishedProto |
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 VertexGroupCommitFinishedEvent()
public VertexGroupCommitFinishedEvent(org.apache.tez.dag.records.TezDAGID dagID,
String vertexGroupName,
Collection<org.apache.tez.dag.records.TezVertexID> vertexIds,
long commitFinishTime)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.VertexGroupCommitFinishedProto toProto()
public void fromProto(RecoveryProtos.VertexGroupCommitFinishedProto 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 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()
public Collection<org.apache.tez.dag.records.TezVertexID> getVertexIds()
Copyright © 2019 Apache Software Foundation. All rights reserved.