Package org.apache.hadoop.hbase.client
Class TestClientTimeouts.RandomTimeoutRpcChannel
java.lang.Object
org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
org.apache.hadoop.hbase.client.TestClientTimeouts.RandomTimeoutRpcChannel
- All Implemented Interfaces:
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
- Enclosing class:
- TestClientTimeouts
private static class TestClientTimeouts.RandomTimeoutRpcChannel
extends org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
-
Field Summary
Modifier and TypeFieldDescriptionprotected final org.apache.hadoop.hbase.net.Address
protected final org.apache.hadoop.hbase.ipc.AbstractRpcClient<?>
protected final int
protected final org.apache.hadoop.hbase.security.User
-
Constructor Summary
ConstructorDescriptionRandomTimeoutRpcChannel
(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.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) protected org.apache.hadoop.hbase.ipc.HBaseRpcController
configureRpcController
(org.apache.hbase.thirdparty.com.google.protobuf.RpcController arg0)
-
Field Details
-
addr
protected final org.apache.hadoop.hbase.net.Address addr -
rpcClient
protected final org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient -
ticket
protected final org.apache.hadoop.hbase.security.User ticket -
rpcTimeout
protected final int rpcTimeout
-
-
Constructor Details
-
RandomTimeoutRpcChannel
RandomTimeoutRpcChannel(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.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
- Overrides:
callMethod
in classorg.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
-
configureRpcController
protected org.apache.hadoop.hbase.ipc.HBaseRpcController configureRpcController(org.apache.hbase.thirdparty.com.google.protobuf.RpcController arg0)
-