static class TestClientTimeouts.RandomTimeoutBlockingRpcChannel extends org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementation
| Modifier and Type | Field and Description |
|---|---|
static double |
CHANCE_OF_TIMEOUT |
private static AtomicInteger |
invokations |
private static Random |
RANDOM |
| Constructor and Description |
|---|
RandomTimeoutBlockingRpcChannel(org.apache.hadoop.hbase.ipc.BlockingRpcClient rpcClient,
org.apache.hadoop.hbase.ServerName sn,
org.apache.hadoop.hbase.security.User ticket,
int rpcTimeout) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hbase.thirdparty.com.google.protobuf.Message |
callBlockingMethod(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) |
public static final double CHANCE_OF_TIMEOUT
private static AtomicInteger invokations
RandomTimeoutBlockingRpcChannel(org.apache.hadoop.hbase.ipc.BlockingRpcClient rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
public org.apache.hbase.thirdparty.com.google.protobuf.Message callBlockingMethod(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) throws org.apache.hbase.thirdparty.com.google.protobuf.ServiceException
callBlockingMethod in interface org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannelcallBlockingMethod in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.BlockingRpcChannelImplementationorg.apache.hbase.thirdparty.com.google.protobuf.ServiceExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.