@InterfaceAudience.LimitedPrivate(value="Configuration") public class NettyRpcClient extends AbstractRpcClient<org.apache.hadoop.hbase.ipc.NettyRpcConnection>
AbstractRpcClient.BlockingRpcChannelImplementation, AbstractRpcClient.RpcChannelImplementation
cellBlockBuilder, clusterId, codec, compressor, conf, connectionAttributes, connectTO, failedServers, failureSleep, fallbackAllowed, localAddr, LOG, maxRetries, metrics, minIdleTimeBeforeClose, readTO, tcpKeepAlive, tcpNoDelay, 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, REGISTRY_PREAMBLE_HEADER, SECURITY_PREAMBLE_HEADER, SOCKET_TIMEOUT_CONNECT, SOCKET_TIMEOUT_READ, SOCKET_TIMEOUT_WRITE, SPECIFIC_WRITE_THREAD
Constructor and Description |
---|
NettyRpcClient(org.apache.hadoop.conf.Configuration configuration)
Used in test only.
|
NettyRpcClient(org.apache.hadoop.conf.Configuration configuration,
String clusterId,
SocketAddress localAddress,
MetricsConnection metrics) |
NettyRpcClient(org.apache.hadoop.conf.Configuration configuration,
String clusterId,
SocketAddress localAddress,
MetricsConnection metrics,
Map<String,byte[]> connectionAttributes) |
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, getCodec, getDefaultCodec, hasCellBlockSupport, isTcpNoDelay
public NettyRpcClient(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, MetricsConnection metrics)
public NettyRpcClient(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, MetricsConnection metrics, Map<String,byte[]> connectionAttributes)
public NettyRpcClient(org.apache.hadoop.conf.Configuration configuration)
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–2020 The Apache Software Foundation. All rights reserved.