public static class TestClientTimeouts.RandomTimeoutRpcClient extends BlockingRpcClient
AbstractRpcClient.BlockingRpcChannelImplementation, AbstractRpcClient.RpcChannelImplementationsocketFactorycellBlockBuilder, clusterId, codec, compressor, conf, connections, connectTO, failedServers, failureSleep, fallbackAllowed, localAddr, LOG, maxRetries, metrics, minIdleTimeBeforeClose, readTO, running, tcpKeepAlive, tcpNoDelay, TOKEN_HANDLERS, userProvider, WHEEL_TIMER, writeTODEFAULT_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,
MetricsConnection metrics) |
| Modifier and Type | Method and Description |
|---|---|
org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel |
createBlockingRpcChannel(ServerName sn,
User ticket,
int rpcTimeout) |
closeInternal, createConnectioncancelConnections, close, createRpcChannel, getDefaultCodec, hasCellBlockSupportpublic RandomTimeoutRpcClient(org.apache.hadoop.conf.Configuration conf, String clusterId, SocketAddress localAddr, MetricsConnection metrics)
public org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel createBlockingRpcChannel(ServerName sn, User ticket, int rpcTimeout) throws UnknownHostException
createBlockingRpcChannel in interface RpcClientcreateBlockingRpcChannel in class AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>UnknownHostExceptionCopyright © 2007–2019 Cloudera. All rights reserved.