Package org.apache.hadoop.hbase.ipc
Class AbstractRpcClient.AbstractRpcChannel
java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractRpcClient.AbstractRpcChannel
- Direct Known Subclasses:
AbstractRpcClient.BlockingRpcChannelImplementation
,AbstractRpcClient.RpcChannelImplementation
- Enclosing class:
- AbstractRpcClient<T extends RpcConnection>
-
Field Summary
Modifier and TypeFieldDescriptionprotected final Address
protected final AbstractRpcClient<?>
protected final int
protected final User
-
Constructor Summary
ModifierConstructorDescriptionprotected
AbstractRpcChannel
(AbstractRpcClient<?> rpcClient, Address addr, User ticket, int rpcTimeout) -
Method Summary
Modifier and TypeMethodDescriptionprotected HBaseRpcController
configureRpcController
(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller) Configure an rpc controller
-
Field Details
-
addr
-
rpcClient
-
ticket
-
rpcTimeout
-
-
Constructor Details
-
AbstractRpcChannel
protected AbstractRpcChannel(AbstractRpcClient<?> rpcClient, Address addr, User ticket, int rpcTimeout)
-
-
Method Details
-
configureRpcController
protected HBaseRpcController configureRpcController(org.apache.hbase.thirdparty.com.google.protobuf.RpcController controller) Configure an rpc controller- Parameters:
controller
- to configure- Returns:
- configured rpc controller
-