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
Service
s. Note that clients should not use this class directly,
except through Table.coprocessorService(byte[])
.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncom.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) 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) 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)
-
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:
callMethod
in 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:
callBlockingMethod
in 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
-