public class ContainerImpl extends Object implements Container
| Constructor and Description |
|---|
ContainerImpl(Configuration conf,
Dispatcher dispatcher,
ContainerLaunchContext launchContext,
Credentials creds,
NodeManagerMetrics metrics,
ContainerTokenIdentifier containerTokenIdentifier) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
ContainerStatus |
cloneAndGetContainerStatus() |
ContainerId |
getContainerId() |
ContainerState |
getContainerState() |
ContainerTokenIdentifier |
getContainerTokenIdentifier() |
Credentials |
getCredentials() |
ContainerLaunchContext |
getLaunchContext() |
Map<Path,List<String>> |
getLocalizedResources() |
Resource |
getResource() |
String |
getUser() |
void |
handle(ContainerEvent event) |
String |
toString() |
public ContainerImpl(Configuration conf, Dispatcher dispatcher, ContainerLaunchContext launchContext, Credentials creds, NodeManagerMetrics metrics, ContainerTokenIdentifier containerTokenIdentifier)
public Map<Path,List<String>> getLocalizedResources()
getLocalizedResources in interface Containerpublic Credentials getCredentials()
getCredentials in interface Containerpublic ContainerState getContainerState()
getContainerState in interface Containerpublic ContainerLaunchContext getLaunchContext()
getLaunchContext in interface Containerpublic ContainerStatus cloneAndGetContainerStatus()
cloneAndGetContainerStatus in interface Containerpublic ContainerId getContainerId()
getContainerId in interface Containerpublic Resource getResource()
getResource in interface Containerpublic ContainerTokenIdentifier getContainerTokenIdentifier()
getContainerTokenIdentifier in interface Containerpublic void cleanup()
public void handle(ContainerEvent event)
handle in interface EventHandler<ContainerEvent>Copyright © 2013 Apache Software Foundation. All rights reserved.