@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() |
newInstance
public StopContainersResponsePBImpl()
public StopContainersResponsePBImpl(YarnServiceProtos.StopContainersResponseProto proto)
public YarnServiceProtos.StopContainersResponseProto getProto()
public List<ContainerId> getSuccessfullyStoppedContainers()
StopContainersResponse
getSuccessfullyStoppedContainers
in class StopContainersResponse
public void setSuccessfullyStoppedContainers(List<ContainerId> succeededRequests)
StopContainersResponse
setSuccessfullyStoppedContainers
in class StopContainersResponse
public Map<ContainerId,SerializedException> getFailedRequests()
StopContainersResponse
getFailedRequests
in class StopContainersResponse
public void setFailedRequests(Map<ContainerId,SerializedException> failedRequests)
StopContainersResponse
setFailedRequests
in class StopContainersResponse
Copyright © 2013 Apache Software Foundation. All rights reserved.