public static class TestClientTimeouts.RandomTimeoutRpcClient extends org.apache.hadoop.hbase.ipc.BlockingRpcClient
cellBlockBuilder, clusterId, codec, compressor, conf, connectTO, failedServers, failureSleep, fallbackAllowed, localAddr, LOG, maxRetries, metrics, minIdleTimeBeforeClose, readTO, tcpKeepAlive, tcpNoDelay, userProvider, WHEEL_TIMER, writeTO
DEFAULT_CODEC_CLASS, DEFAULT_SOCKET_TIMEOUT_CONNECT, DEFAULT_SOCKET_TIMEOUT_READ, DEFAULT_SOCKET_TIMEOUT_WRITE, FAILED_SERVER_EXPIRY_DEFAULT, FAILED_SERVER_EXPIRY_KEY, IDLE_TIME, IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_DEFAULT, IPC_CLIENT_FALLBACK_TO_SIMPLE_AUTH_ALLOWED_KEY, PING_CALL_ID, SOCKET_TIMEOUT_CONNECT, SOCKET_TIMEOUT_READ, SOCKET_TIMEOUT_WRITE, SPECIFIC_WRITE_THREAD
Constructor and Description |
---|
RandomTimeoutRpcClient(org.apache.hadoop.conf.Configuration conf,
String clusterId,
SocketAddress localAddr,
org.apache.hadoop.hbase.client.MetricsConnection metrics) |
Modifier and Type | Method and Description |
---|---|
org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel |
createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn,
org.apache.hadoop.hbase.security.User ticket,
int rpcTimeout) |
org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel |
createRpcChannel(org.apache.hadoop.hbase.ServerName sn,
org.apache.hadoop.hbase.security.User ticket,
int rpcTimeout) |
closeInternal, createConnection
public RandomTimeoutRpcClient(org.apache.hadoop.conf.Configuration conf, String clusterId, SocketAddress localAddr, org.apache.hadoop.hbase.client.MetricsConnection metrics)
public org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
createBlockingRpcChannel
in interface org.apache.hadoop.hbase.ipc.RpcClient
createBlockingRpcChannel
in class org.apache.hadoop.hbase.ipc.AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>
public org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel createRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User ticket, int rpcTimeout)
createRpcChannel
in interface org.apache.hadoop.hbase.ipc.RpcClient
createRpcChannel
in class org.apache.hadoop.hbase.ipc.AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.