org.apache.hadoop.yarn.api.protocolrecords
Interface StopContainerRequest


@InterfaceAudience.Public
@InterfaceStability.Stable
public interface StopContainerRequest

The request sent by the ApplicationMaster to the NodeManager to stop a container.

See Also:
ContainerManager.stopContainer(StopContainerRequest)

Method Summary
 ContainerId getContainerId()
          Get the ContainerId of the container to be stopped.
 void setContainerId(ContainerId containerId)
          Set the ContainerId of the container to be stopped.
 

Method Detail

getContainerId

@InterfaceAudience.Public
@InterfaceStability.Stable
ContainerId getContainerId()
Get the ContainerId of the container to be stopped.

Returns:
ContainerId of container to be stopped

setContainerId

@InterfaceAudience.Public
@InterfaceStability.Stable
void setContainerId(ContainerId containerId)
Set the ContainerId of the container to be stopped.

Parameters:
containerId - ContainerId of the container to be stopped


Copyright © 2013 Apache Software Foundation. All Rights Reserved.