public class AMStartedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
AMStartedEvent() |
AMStartedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
String user) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProto(RecoveryProtos.AMStartedProto proto) |
void |
fromProtoStream(InputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationAttemptId |
getApplicationAttemptId() |
HistoryEventType |
getEventType() |
long |
getStartTime() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
RecoveryProtos.AMStartedProto |
toProto() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public AMStartedEvent()
public AMStartedEvent(org.apache.hadoop.yarn.api.records.ApplicationAttemptId appAttemptId,
long startTime,
String user)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic RecoveryProtos.AMStartedProto toProto()
public void fromProto(RecoveryProtos.AMStartedProto 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 getStartTime()
public String getUser()
Copyright © 2015 Apache Software Foundation. All rights reserved.