Class StopContainersRequest
java.lang.Object
org.apache.hadoop.yarn.api.protocolrecords.StopContainersRequest
The request sent by the ApplicationMaster to the
NodeManager to stop containers.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<ContainerId>Get theContainerIds of the containers to be stopped.static StopContainersRequestnewInstance(List<ContainerId> containerIds) abstract voidsetContainerIds(List<ContainerId> containerIds) Set theContainerIds of the containers to be stopped.
-
Constructor Details
-
StopContainersRequest
public StopContainersRequest()
-
-
Method Details
-
newInstance
-
getContainerIds
Get theContainerIds of the containers to be stopped.- Returns:
ContainerIds of containers to be stopped
-
setContainerIds
Set theContainerIds of the containers to be stopped.- Parameters:
containerIds-ContainerIds of the containers to be stopped
-