public class ApplicationImpl extends Object implements Application
| Constructor and Description |
|---|
ApplicationImpl(org.apache.hadoop.yarn.event.Dispatcher dispatcher,
String user,
org.apache.hadoop.yarn.api.records.ApplicationId appId,
org.apache.hadoop.security.Credentials credentials,
Context context) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hadoop.yarn.api.records.ApplicationId |
getAppId() |
ApplicationState |
getApplicationState() |
Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> |
getContainers() |
String |
getUser() |
void |
handle(ApplicationEvent event) |
String |
toString() |
public String getUser()
getUser in interface Applicationpublic org.apache.hadoop.yarn.api.records.ApplicationId getAppId()
getAppId in interface Applicationpublic ApplicationState getApplicationState()
getApplicationState in interface Applicationpublic Map<org.apache.hadoop.yarn.api.records.ContainerId,Container> getContainers()
getContainers in interface Applicationpublic void handle(ApplicationEvent event)
handle in interface org.apache.hadoop.yarn.event.EventHandler<ApplicationEvent>Copyright © 2014 Apache Software Foundation. All Rights Reserved.