Class TestRpcBasedRegistryHedgedReads.RpcChannelImpl

java.lang.Object
org.apache.hadoop.hbase.client.TestRpcBasedRegistryHedgedReads.RpcChannelImpl
All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
Enclosing class:
TestRpcBasedRegistryHedgedReads

public static final class TestRpcBasedRegistryHedgedReads.RpcChannelImpl extends Object implements org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
A dummy RpcChannel implementation that intercepts the GetClusterId() RPC calls and injects errors. All other RPCs are ignored.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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)
     

    Methods inherited from class java.lang.Object

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

  • Method Details

    • 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