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 Container
public Credentials getCredentials()
getCredentials
in interface Container
public ContainerState getContainerState()
getContainerState
in interface Container
public ContainerLaunchContext getLaunchContext()
getLaunchContext
in interface Container
public ContainerStatus cloneAndGetContainerStatus()
cloneAndGetContainerStatus
in interface Container
public ContainerId getContainerId()
getContainerId
in interface Container
public Resource getResource()
getResource
in interface Container
public ContainerTokenIdentifier getContainerTokenIdentifier()
getContainerTokenIdentifier
in interface Container
public void cleanup()
public void handle(ContainerEvent event)
handle
in interface EventHandler<ContainerEvent>
Copyright © 2013 Apache Software Foundation. All rights reserved.