Class MasterCoprocessorRpcChannelImpl

java.lang.Object
org.apache.hadoop.hbase.client.MasterCoprocessorRpcChannelImpl
All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel

@Private class MasterCoprocessorRpcChannelImpl extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
The implementation of a master based coprocessor rpc channel.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<org.apache.hbase.thirdparty.com.google.protobuf.Message>
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    MasterCoprocessorRpcChannelImpl(AsyncRpcRetryingCallerFactory.MasterRequestCallerBuilder<org.apache.hbase.thirdparty.com.google.protobuf.Message> callerBuilder)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
     
    private CompletableFuture<org.apache.hbase.thirdparty.com.google.protobuf.Message>
    rpcCall(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, HBaseRpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • rpcCall

      private CompletableFuture<org.apache.hbase.thirdparty.com.google.protobuf.Message> rpcCall(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, HBaseRpcController controller, org.apache.hadoop.hbase.shaded.protobuf.generated.MasterProtos.MasterService.Interface stub)
    • callMethod

      public void callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor method, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message request, org.apache.hbase.thirdparty.com.google.protobuf.Message responsePrototype, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done)
      Specified by:
      callMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel