public class DAGInitializedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
DAGInitializedEvent() |
DAGInitializedEvent(org.apache.tez.dag.records.TezDAGID dagID,
long initTime,
String user,
String dagName) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.DAGInitializedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
org.apache.tez.dag.records.TezDAGID |
getDagID() |
String |
getDagName() |
HistoryEventType |
getEventType() |
long |
getInitTime() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.DAGInitializedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.DAGInitializedProto toProto()
public void fromProto(RecoveryProtos.DAGInitializedProto proto)
public void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic long getInitTime()
public org.apache.tez.dag.records.TezDAGID getDagID()
public String getUser()
public String getDagName()
Copyright © 2014 Apache Software Foundation. All rights reserved.