org.apache.tez.dag.history.events
Class AMLaunchedEvent
java.lang.Object
org.apache.tez.dag.history.events.AMLaunchedEvent
- All Implemented Interfaces:
- HistoryEvent
public class AMLaunchedEvent
- extends Object
- implements HistoryEvent
|
Constructor Summary |
AMLaunchedEvent()
|
AMLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long launchTime,
long appSubmitTime)
|
AMLaunchedEvent
public AMLaunchedEvent()
AMLaunchedEvent
public AMLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long launchTime,
long appSubmitTime)
getEventType
public HistoryEventType getEventType()
- Specified by:
getEventType in interface HistoryEvent
convertToATSJSON
public org.codehaus.jettison.json.JSONObject convertToATSJSON()
throws org.codehaus.jettison.json.JSONException
- Specified by:
convertToATSJSON in interface HistoryEvent
- Throws:
org.codehaus.jettison.json.JSONException
isRecoveryEvent
public boolean isRecoveryEvent()
- Specified by:
isRecoveryEvent in interface HistoryEvent
isHistoryEvent
public boolean isHistoryEvent()
- Specified by:
isHistoryEvent in interface HistoryEvent
toString
public String toString()
- Overrides:
toString in class Object
toProto
public RecoveryProtos.AMLaunchedProto toProto()
fromProto
public void fromProto(RecoveryProtos.AMLaunchedProto proto)
toProtoStream
public void toProtoStream(OutputStream outputStream)
throws IOException
- Specified by:
toProtoStream in interface HistoryEvent
- Throws:
IOException
fromProtoStream
public void fromProtoStream(InputStream inputStream)
throws IOException
- Specified by:
fromProtoStream in interface HistoryEvent
- Throws:
IOException
getApplicationAttemptId
public org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
getLaunchTime
public long getLaunchTime()
getAppSubmitTime
public long getAppSubmitTime()
Copyright © 2014 Apache Software Foundation. All rights reserved.