@InterfaceAudience.Private @InterfaceStability.Unstable public class StopContainersResponsePBImpl extends StopContainersResponse
| Constructor and Description |
|---|
StopContainersResponsePBImpl() |
StopContainersResponsePBImpl(YarnServiceProtos.StopContainersResponseProto proto) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
Map<ContainerId,SerializedException> |
getFailedRequests()
Get the containerId-to-exception map in which the exception indicates error
from per container for failed requests
|
YarnServiceProtos.StopContainersResponseProto |
getProto() |
List<ContainerId> |
getSuccessfullyStoppedContainers()
Get the list of containerIds of successfully stopped containers.
|
int |
hashCode() |
void |
setFailedRequests(Map<ContainerId,SerializedException> failedRequests)
Set the containerId-to-exception map in which the exception indicates error
from per container for failed requests
|
void |
setSuccessfullyStoppedContainers(List<ContainerId> succeededRequests)
Set the list of containerIds of successfully stopped containers.
|
String |
toString() |
newInstancepublic StopContainersResponsePBImpl()
public StopContainersResponsePBImpl(YarnServiceProtos.StopContainersResponseProto proto)
public YarnServiceProtos.StopContainersResponseProto getProto()
public List<ContainerId> getSuccessfullyStoppedContainers()
StopContainersResponsegetSuccessfullyStoppedContainers in class StopContainersResponsepublic void setSuccessfullyStoppedContainers(List<ContainerId> succeededRequests)
StopContainersResponsesetSuccessfullyStoppedContainers in class StopContainersResponsepublic Map<ContainerId,SerializedException> getFailedRequests()
StopContainersResponsegetFailedRequests in class StopContainersResponsepublic void setFailedRequests(Map<ContainerId,SerializedException> failedRequests)
StopContainersResponsesetFailedRequests in class StopContainersResponseCopyright © 2013 Apache Software Foundation. All rights reserved.