public class AMLaunchedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
AMLaunchedEvent() |
AMLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long launchTime,
long appSubmitTime,
String user) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.AMLaunchedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
long |
getAppSubmitTime() |
HistoryEventType |
getEventType() |
long |
getLaunchTime() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.AMLaunchedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public AMLaunchedEvent()
public AMLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long launchTime,
long appSubmitTime,
String user)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.AMLaunchedProto toProto()
public void fromProto(RecoveryProtos.AMLaunchedProto proto)
public void toProtoStream(OutputStream outputStream) throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(InputStream inputStream) throws IOException
fromProtoStream in interface HistoryEventIOExceptionpublic org.apache.hadoop.yarn.api.records.ApplicationAttemptId getApplicationAttemptId()
public long getLaunchTime()
public long getAppSubmitTime()
public String getUser()
Copyright © 2014 Apache Software Foundation. All rights reserved.