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,
org.apache.tez.common.VersionInfo version) |
| Modifier and Type | Method and Description |
|---|---|
void |
fromProtoStream(com.google.protobuf.CodedInputStream inputStream) |
org.apache.hadoop.yarn.api.records.ApplicationId |
getApplicationId() |
long |
getAppSubmitTime() |
org.apache.hadoop.conf.Configuration |
getConf() |
HistoryEventType |
getEventType() |
long |
getLaunchTime() |
String |
getUser() |
org.apache.tez.common.VersionInfo |
getVersion() |
boolean |
isHistoryEvent() |
boolean |
isRecoveryEvent() |
void |
toProtoStream(com.google.protobuf.CodedOutputStream 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,
org.apache.tez.common.VersionInfo version)
public HistoryEventType getEventType()
getEventType in interface HistoryEventpublic boolean isRecoveryEvent()
isRecoveryEvent in interface HistoryEventpublic boolean isHistoryEvent()
isHistoryEvent in interface HistoryEventpublic 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.ApplicationId getApplicationId()
public long getLaunchTime()
public long getAppSubmitTime()
public String getUser()
public org.apache.hadoop.conf.Configuration getConf()
public org.apache.tez.common.VersionInfo getVersion()
Copyright © 2020 Apache Software Foundation. All rights reserved.