@InterfaceAudience.LimitedPrivate(value="Configuration") public class NettyRpcClient extends AbstractRpcClient<org.apache.hadoop.hbase.ipc.NettyRpcConnection>
AbstractRpcClient.BlockingRpcChannelImplementation, AbstractRpcClient.RpcChannelImplementation
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 |
---|
NettyRpcClient(org.apache.hadoop.conf.Configuration configuration,
String clusterId,
SocketAddress localAddress,
MetricsConnection metrics) |
Modifier and Type | Method and Description |
---|---|
protected void |
closeInternal() |
protected org.apache.hadoop.hbase.ipc.NettyRpcConnection |
createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId)
Not connected.
|
cancelConnections, close, createBlockingRpcChannel, createRpcChannel, getDefaultCodec, hasCellBlockSupport
public NettyRpcClient(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, MetricsConnection metrics)
protected org.apache.hadoop.hbase.ipc.NettyRpcConnection createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) throws IOException
AbstractRpcClient
createConnection
in class AbstractRpcClient<org.apache.hadoop.hbase.ipc.NettyRpcConnection>
IOException
protected void closeInternal()
closeInternal
in class AbstractRpcClient<org.apache.hadoop.hbase.ipc.NettyRpcConnection>
Copyright © 2007–2019 Cloudera. All rights reserved.