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 Closeable
close
in interface AutoCloseable
IOException
public Collection<RefreshResponse> refresh(String identifier, String[] args) throws IOException
org.apache.hadoop.ipc.GenericRefreshProtocol
refresh
in interface org.apache.hadoop.ipc.GenericRefreshProtocol
IOException
public boolean isMethodSupported(String methodName) throws IOException
org.apache.hadoop.ipc.ProtocolMetaInterface
isMethodSupported
in interface org.apache.hadoop.ipc.ProtocolMetaInterface
methodName
- The name of the methodIOException
Copyright © 2017 Apache Software Foundation. All Rights Reserved.