Package org.apache.hadoop.hbase.ipc
Class AbstractRpcClient.RpcChannelImplementation
java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractRpcClient.AbstractRpcChannel
org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
- All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
- Enclosing class:
- AbstractRpcClient<T extends RpcConnection>
public static class AbstractRpcClient.RpcChannelImplementation
extends AbstractRpcClient.AbstractRpcChannel
implements org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
Async rpc channel that goes via hbase rpc.
-
Field Summary
Fields inherited from class org.apache.hadoop.hbase.ipc.AbstractRpcClient.AbstractRpcChannel
addr, rpcClient, rpcTimeout, ticket
-
Constructor Summary
ModifierConstructorDescriptionprotected
RpcChannelImplementation
(AbstractRpcClient<?> rpcClient, Address addr, User ticket, int rpcTimeout) -
Method Summary
Modifier and TypeMethodDescriptionvoid
callMethod
(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message param, org.apache.hbase.thirdparty.com.google.protobuf.Message returnType, org.apache.hbase.thirdparty.com.google.protobuf.RpcCallback<org.apache.hbase.thirdparty.com.google.protobuf.Message> done) Methods inherited from class org.apache.hadoop.hbase.ipc.AbstractRpcClient.AbstractRpcChannel
configureRpcController
-
Constructor Details
-
RpcChannelImplementation
protected RpcChannelImplementation(AbstractRpcClient<?> rpcClient, Address addr, User ticket, int rpcTimeout)
-
-
Method Details
-
callMethod
public void callMethod(org.apache.hbase.thirdparty.com.google.protobuf.Descriptors.MethodDescriptor md, org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller, org.apache.hbase.thirdparty.com.google.protobuf.Message param, org.apache.hbase.thirdparty.com.google.protobuf.Message returnType, 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
-