Package org.apache.hadoop.hbase.client
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
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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)
-
Constructor Details
-
RpcChannelImpl
public RpcChannelImpl()
-
-
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 interfaceorg.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
-