Package org.apache.hadoop.ipc.protocolPB
Class RefreshCallQueueProtocolClientSideTranslatorPB
java.lang.Object
org.apache.hadoop.ipc.protocolPB.RefreshCallQueueProtocolClientSideTranslatorPB
- All Implemented Interfaces:
Closeable,AutoCloseable,ProtocolMetaInterface,RefreshCallQueueProtocol
public class RefreshCallQueueProtocolClientSideTranslatorPB
extends Object
implements ProtocolMetaInterface, RefreshCallQueueProtocol, Closeable
-
Field Summary
Fields inherited from interface org.apache.hadoop.ipc.RefreshCallQueueProtocol
versionID -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()booleanisMethodSupported(String methodName) Checks whether the given method name is supported by the server.voidRefresh the callqueue.
-
Constructor Details
-
RefreshCallQueueProtocolClientSideTranslatorPB
-
-
Method Details
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Throws:
IOException
-
refreshCallQueue
Description copied from interface:RefreshCallQueueProtocolRefresh the callqueue.- Specified by:
refreshCallQueuein interfaceRefreshCallQueueProtocol- 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.
-