public class GenericRefreshProtocolClientSideTranslatorPB extends Object implements org.apache.hadoop.ipc.ProtocolMetaInterface, org.apache.hadoop.ipc.GenericRefreshProtocol, Closeable
| Constructor and Description |
|---|
GenericRefreshProtocolClientSideTranslatorPB(org.apache.hadoop.ipc.protocolPB.GenericRefreshProtocolPB rpcProxy) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
boolean |
isMethodSupported(String methodName)
Checks whether the given method name is supported by the server.
|
Collection<RefreshResponse> |
refresh(String identifier,
String[] args)
Refresh the resource based on identity passed in.
|
public GenericRefreshProtocolClientSideTranslatorPB(org.apache.hadoop.ipc.protocolPB.GenericRefreshProtocolPB rpcProxy)
public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableIOExceptionpublic Collection<RefreshResponse> refresh(String identifier, String[] args) throws IOException
org.apache.hadoop.ipc.GenericRefreshProtocolrefresh in interface org.apache.hadoop.ipc.GenericRefreshProtocolIOExceptionpublic boolean isMethodSupported(String methodName) throws IOException
org.apache.hadoop.ipc.ProtocolMetaInterfaceisMethodSupported in interface org.apache.hadoop.ipc.ProtocolMetaInterfacemethodName - The name of the methodIOExceptionCopyright © 2008–2022 Apache Software Foundation. All rights reserved.