public class ClientSCMProtocolPBClientImpl extends Object implements ClientSCMProtocol, Closeable
| Constructor and Description |
|---|
ClientSCMProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
ReleaseSharedCacheResourceResponse |
release(ReleaseSharedCacheResourceRequest request) |
UseSharedCacheResourceResponse |
use(UseSharedCacheResourceRequest request) |
public ClientSCMProtocolPBClientImpl(long clientVersion,
InetSocketAddress addr,
Configuration conf)
throws IOException
IOExceptionpublic void close()
close in interface Closeableclose in interface AutoCloseablepublic UseSharedCacheResourceResponse use(UseSharedCacheResourceRequest request) throws YarnException, IOException
use in interface ClientSCMProtocolYarnExceptionIOExceptionpublic ReleaseSharedCacheResourceResponse release(ReleaseSharedCacheResourceRequest request) throws YarnException, IOException
release in interface ClientSCMProtocolYarnExceptionIOExceptionCopyright © 2018 CERN. All Rights Reserved.