Package org.apache.hadoop.hbase.client
Class MasterCoprocessorRpcChannelImpl
java.lang.Object
org.apache.hadoop.hbase.client.MasterCoprocessorRpcChannelImpl
- All Implemented Interfaces:
com.google.protobuf.RpcChannel
@Private
class MasterCoprocessorRpcChannelImpl
extends Object
implements com.google.protobuf.RpcChannel
The implementation of a master based coprocessor rpc channel.
-
Field Summary
Modifier and TypeFieldDescription(package private) AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<com.google.protobuf.Message>
-
Constructor Summary
ConstructorDescriptionMasterCoprocessorRpcChannelImpl
(AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<com.google.protobuf.Message> callerBuilder) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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> done) private CompletableFuture<com.google.protobuf.Message>
rpcCall
(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, HBaseRpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub)
-
Field Details
-
callerBuilder
AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<com.google.protobuf.Message> callerBuilder
-
-
Constructor Details
-
MasterCoprocessorRpcChannelImpl
MasterCoprocessorRpcChannelImpl(AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<com.google.protobuf.Message> callerBuilder)
-
-
Method Details
-
rpcCall
private CompletableFuture<com.google.protobuf.Message> rpcCall(com.google.protobuf.Descriptors.MethodDescriptor method, com.google.protobuf.Message request, com.google.protobuf.Message responsePrototype, HBaseRpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub) -
callMethod
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> done) - Specified by:
callMethod
in interfacecom.google.protobuf.RpcChannel
-