private static class TestClientTimeouts.RandomTimeoutRpcChannel extends org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
Constructor and Description |
---|
RandomTimeoutRpcChannel(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient,
org.apache.hadoop.hbase.ServerName sn,
org.apache.hadoop.hbase.security.User ticket,
int rpcTimeout) |
Modifier and Type | Method and Description |
---|---|
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) |
RandomTimeoutRpcChannel(org.apache.hadoop.hbase.ipc.AbstractRpcClient<?> rpcClient, org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
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)
callMethod
in interface org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
callMethod
in class org.apache.hadoop.hbase.ipc.AbstractRpcClient.RpcChannelImplementation
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.