public static class TestRpcClientLeaks.MyRpcClientImpl extends org.apache.hadoop.hbase.ipc.BlockingRpcClient
cellBlockBuilder, clusterId, codec, compressor, conf, connections, connectTO, failedServers, failureSleep, fallbackAllowed, localAddr, LOG, maxRetries, metrics, minIdleTimeBeforeClose, readTO, running, tcpKeepAlive, tcpNoDelay, TOKEN_HANDLERS, 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 |
---|
MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf) |
MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf,
String clusterId,
SocketAddress address,
org.apache.hadoop.hbase.client.MetricsConnection metrics) |
Modifier and Type | Method and Description |
---|---|
protected org.apache.hadoop.hbase.ipc.BlockingRpcConnection |
createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) |
public MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf)
public MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf, String clusterId, SocketAddress address, org.apache.hadoop.hbase.client.MetricsConnection metrics)
protected org.apache.hadoop.hbase.ipc.BlockingRpcConnection createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) throws IOException
createConnection
in class org.apache.hadoop.hbase.ipc.BlockingRpcClient
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.