@InterfaceAudience.Private public class BlockingRpcClient extends AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>
See HBaseServer
AbstractRpcClient.BlockingRpcChannelImplementation, AbstractRpcClient.RpcChannelImplementation| Modifier and Type | Field and Description | 
|---|---|
| protected SocketFactory | socketFactory | 
cellBlockBuilder, clusterId, codec, compressor, conf, connectionAttributes, 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, REGISTRY_PREAMBLE_HEADER, SECURITY_PREAMBLE_HEADER, SOCKET_TIMEOUT_CONNECT, SOCKET_TIMEOUT_READ, SOCKET_TIMEOUT_WRITE, SPECIFIC_WRITE_THREAD| Constructor and Description | 
|---|
| BlockingRpcClient(org.apache.hadoop.conf.Configuration conf,
                 String clusterId,
                 SocketAddress localAddr,
                 MetricsConnection metrics,
                 Map<String,byte[]> connectionAttributes)Construct an IPC client for the cluster  clusterIdwith the default SocketFactory This
 method is called with reflection by the RpcClientFactory to create an instance | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | closeInternal() | 
| protected org.apache.hadoop.hbase.ipc.BlockingRpcConnection | createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId)Creates a connection. | 
cancelConnections, close, createBlockingRpcChannel, createRpcChannel, getCodec, getDefaultCodec, hasCellBlockSupport, isTcpNoDelayprotected final SocketFactory socketFactory
public BlockingRpcClient(org.apache.hadoop.conf.Configuration conf,
                         String clusterId,
                         SocketAddress localAddr,
                         MetricsConnection metrics,
                         Map<String,byte[]> connectionAttributes)
clusterId with the default SocketFactory This
 method is called with reflection by the RpcClientFactory to create an instanceconf - configurationclusterId - the cluster idlocalAddr - client socket bind address.metrics - the connection metricsprotected org.apache.hadoop.hbase.ipc.BlockingRpcConnection createConnection(org.apache.hadoop.hbase.ipc.ConnectionId remoteId) throws IOException
createConnection in class AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>remoteId - - the ConnectionId to use for the connection creation.IOExceptionprotected void closeInternal()
closeInternal in class AbstractRpcClient<org.apache.hadoop.hbase.ipc.BlockingRpcConnection>Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.