public class AppLaunchedEvent extends Object implements HistoryEvent
| Constructor and Description |
|---|
AppLaunchedEvent() |
AppLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
long launchTime,
long appSubmitTime,
String user,
org.apache.hadoop.conf.Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProtoStream(InputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
long |
getAppSubmitTime() |
org.apache.hadoop.conf.Configuration |
getConf() |
HistoryEventType |
getEventType() |
long |
getLaunchTime() |
String |
getUser() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
void |
toProtoStream(OutputStream outputStream) |
String |
toString() |
public AppLaunchedEvent()
public AppLaunchedEvent(org.apache.hadoop.yarn.api.records.ApplicationId appId,
long launchTime,
long appSubmitTime,
String user,
org.apache.hadoop.conf.Configuration conf)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic 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.ApplicationId getApplicationId()
public long getLaunchTime()
public long getAppSubmitTime()
public String getUser()
public org.apache.hadoop.conf.Configuration getConf()
Copyright © 2014 Apache Software Foundation. All rights reserved.