public static class TestRpcClientLeaks.MyRpcClientImpl extends org.apache.hadoop.hbase.ipc.BlockingRpcClient
| Modifier and Type | Field and Description | 
|---|---|
| private static boolean | throwException | 
cellBlockBuilder, clusterId, codec, compressor, conf, connectTO, failedServers, failureSleep, fallbackAllowed, localAddr, LOG, maxRetries, metrics, minIdleTimeBeforeClose, readTO, tcpKeepAlive, tcpNoDelay, 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 | 
|---|
| 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) | 
| static void | enableThrowExceptions() | 
private static boolean throwException
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.BlockingRpcClientIOExceptionpublic static void enableThrowExceptions()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.