org.apache.hadoop.yarn.api.protocolrecords
Class StopContainersRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.StopContainersRequest
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract class StopContainersRequest
- extends Object
The request sent by the ApplicationMaster
to the
NodeManager
to stop containers.
- See Also:
ContainerManagementProtocol.stopContainers(StopContainersRequest)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StopContainersRequest
public StopContainersRequest()
newInstance
@InterfaceAudience.Public
@InterfaceStability.Stable
public static StopContainersRequest newInstance(List<ContainerId> containerIds)
getContainerIds
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract List<ContainerId> getContainerIds()
- Get the
ContainerId
s of the containers to be stopped.
- Returns:
ContainerId
s of containers to be stopped
setContainerIds
@InterfaceAudience.Public
@InterfaceStability.Stable
public abstract void setContainerIds(List<ContainerId> containerIds)
- Set the
ContainerId
s of the containers to be stopped.
- Parameters:
containerIds
- ContainerId
s of the containers to be stopped
Copyright © 2014 Apache Software Foundation. All Rights Reserved.