public class ApplicationImpl extends Object implements Application
Constructor and Description |
---|
ApplicationImpl(Dispatcher dispatcher,
ApplicationACLsManager aclsManager,
String user,
ApplicationId appId,
Credentials credentials,
Context context) |
Modifier and Type | Method and Description |
---|---|
ApplicationId |
getAppId() |
ApplicationState |
getApplicationState() |
Map<ContainerId,Container> |
getContainers() |
String |
getUser() |
void |
handle(ApplicationEvent event) |
String |
toString() |
public ApplicationImpl(Dispatcher dispatcher, ApplicationACLsManager aclsManager, String user, ApplicationId appId, Credentials credentials, Context context)
public String getUser()
getUser
in interface Application
public ApplicationId getAppId()
getAppId
in interface Application
public ApplicationState getApplicationState()
getApplicationState
in interface Application
public Map<ContainerId,Container> getContainers()
getContainers
in interface Application
public void handle(ApplicationEvent event)
handle
in interface EventHandler<ApplicationEvent>
Copyright © 2013 Apache Software Foundation. All rights reserved.