Package org.apache.hadoop.ipc.protocolPB
Class GenericRefreshProtocolClientSideTranslatorPB
java.lang.Object
org.apache.hadoop.ipc.protocolPB.GenericRefreshProtocolClientSideTranslatorPB
- All Implemented Interfaces:
Closeable,AutoCloseable,GenericRefreshProtocol,ProtocolMetaInterface
public class GenericRefreshProtocolClientSideTranslatorPB
extends Object
implements ProtocolMetaInterface, GenericRefreshProtocol, Closeable
-
Field Summary
Fields inherited from interface org.apache.hadoop.ipc.GenericRefreshProtocol
versionID -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisMethodSupported(String methodName) Checks whether the given method name is supported by the server.Refresh the resource based on identity passed in.
-
Constructor Details
-
GenericRefreshProtocolClientSideTranslatorPB
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
refresh
Description copied from interface:GenericRefreshProtocolRefresh the resource based on identity passed in.- Specified by:
refreshin interfaceGenericRefreshProtocol- Parameters:
identifier- input identifier.args- input args.- Returns:
- Collection RefreshResponse.
- Throws:
IOException- raised on errors performing I/O.
-
isMethodSupported
Description copied from interface:ProtocolMetaInterfaceChecks whether the given method name is supported by the server. It is assumed that all method names are unique for a protocol.- Specified by:
isMethodSupportedin interfaceProtocolMetaInterface- Parameters:
methodName- The name of the method- Returns:
- true if method is supported, otherwise false.
- Throws:
IOException- raised on errors performing I/O.
-