Package org.apache.hadoop.hbase.client
Class SyncCoprocessorRpcChannel
java.lang.Object
org.apache.hadoop.hbase.client.SyncCoprocessorRpcChannel
- All Implemented Interfaces:
com.google.protobuf.BlockingRpcChannel,com.google.protobuf.RpcChannel,CoprocessorRpcChannel
- Direct Known Subclasses:
RegionCoprocessorRpcChannel
Base class which provides clients with an RPC connection to call coprocessor endpoint
Services. Note that clients should not use this class directly,
except through Table.coprocessorService(byte[]).-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.MessagecallBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) protected abstract com.google.protobuf.MessagecallExecService(com.google.protobuf.RpcController controller, com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) voidcallMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, com.google.protobuf.RpcCallback<com.google.protobuf.Message> callback)
-
Field Details
-
LOG
-
-
Constructor Details
-
SyncCoprocessorRpcChannel
-
-
Method Details
-
callMethod
@Private public void callMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, com.google.protobuf.RpcCallback<com.google.protobuf.Message> callback) - Specified by:
callMethodin interfacecom.google.protobuf.RpcChannel
-
callBlockingMethod
@Private public com.google.protobuf.Message callBlockingMethod(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.RpcController controller, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) throws com.google.protobuf.ServiceException - Specified by:
callBlockingMethodin interfacecom.google.protobuf.BlockingRpcChannel- Throws:
com.google.protobuf.ServiceException
-
callExecService
protected abstract com.google.protobuf.Message callExecService(com.google.protobuf.RpcController controller, com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype) throws IOException - Throws:
IOException
-