@InterfaceAudience.Private public class ContainerManagementProtocolPBClientImpl extends Object implements ContainerManagementProtocol, Closeable
| Constructor and Description |
|---|
ContainerManagementProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
GetContainerStatusesResponse |
getContainerStatuses(GetContainerStatusesRequest request) |
StartContainersResponse |
startContainers(StartContainersRequest requests) |
StopContainersResponse |
stopContainers(StopContainersRequest requests) |
public ContainerManagementProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic StartContainersResponse startContainers(StartContainersRequest requests) throws YarnException, IOException
startContainers in interface ContainerManagementProtocolYarnExceptionIOExceptionpublic StopContainersResponse stopContainers(StopContainersRequest requests) throws YarnException, IOException
stopContainers in interface ContainerManagementProtocolYarnExceptionIOExceptionpublic GetContainerStatusesResponse getContainerStatuses(GetContainerStatusesRequest request) throws YarnException, IOException
getContainerStatuses in interface ContainerManagementProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.