public static class TestRpcClientLeaks.MyRpcClientImpl extends BlockingRpcClient
AbstractRpcClient.BlockingRpcChannelImplementation, AbstractRpcClient.RpcChannelImplementation| Modifier and Type | Field and Description |
|---|---|
static List<Socket> |
savedSockets |
org.junit.rules.ExpectedException |
thrown |
socketFactorycellBlockBuilder, 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 |
|---|
MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf) |
MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf,
String clusterId,
SocketAddress address,
MetricsConnection metrics) |
| Modifier and Type | Method and Description |
|---|---|
protected org.apache.hadoop.hbase.ipc.BlockingRpcConnection |
createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) |
closeInternalcancelConnections, close, createBlockingRpcChannel, createRpcChannel, getDefaultCodec, hasCellBlockSupportpublic static List<Socket> savedSockets
public org.junit.rules.ExpectedException thrown
public MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf)
public MyRpcClientImpl(org.apache.hadoop.conf.Configuration conf, String clusterId, SocketAddress address, MetricsConnection metrics)
protected org.apache.hadoop.hbase.ipc.BlockingRpcConnection createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) throws IOException
createConnection in class BlockingRpcClientIOExceptionCopyright © 2007–2019 Cloudera. All rights reserved.