@InterfaceAudience.Private @InterfaceStability.Unstable public class StopContainersRequestPBImpl extends StopContainersRequest
Constructor and Description |
---|
StopContainersRequestPBImpl() |
StopContainersRequestPBImpl(YarnServiceProtos.StopContainersRequestProto proto) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
List<ContainerId> |
getContainerIds()
Get the
ContainerId s of the containers to be stopped. |
YarnServiceProtos.StopContainersRequestProto |
getProto() |
int |
hashCode() |
void |
setContainerIds(List<ContainerId> containerIds)
Set the
ContainerId s of the containers to be stopped. |
String |
toString() |
newInstance
public StopContainersRequestPBImpl()
public StopContainersRequestPBImpl(YarnServiceProtos.StopContainersRequestProto proto)
public YarnServiceProtos.StopContainersRequestProto getProto()
public List<ContainerId> getContainerIds()
StopContainersRequest
ContainerId
s of the containers to be stopped.getContainerIds
in class StopContainersRequest
ContainerId
s of containers to be stoppedpublic void setContainerIds(List<ContainerId> containerIds)
StopContainersRequest
ContainerId
s of the containers to be stopped.setContainerIds
in class StopContainersRequest
containerIds
- ContainerId
s of the containers to be stoppedCopyright © 2013 Apache Software Foundation. All rights reserved.