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(com.google.protobuf.CodedInputStream 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(com.google.protobuf.CodedOutputStream 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(com.google.protobuf.CodedOutputStream outputStream)
throws IOException
toProtoStream in interface HistoryEventIOExceptionpublic void fromProtoStream(com.google.protobuf.CodedInputStream 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 © 2019 Apache Software Foundation. All rights reserved.