Package org.apache.hadoop.hbase.client
Class TestRpcBasedRegistryHedgedReads.RpcClientImpl
java.lang.Object
org.apache.hadoop.hbase.client.TestRpcBasedRegistryHedgedReads.RpcClientImpl
- All Implemented Interfaces:
Closeable
,AutoCloseable
,org.apache.hadoop.hbase.ipc.RpcClient
- Enclosing class:
- TestRpcBasedRegistryHedgedReads
public static final class TestRpcBasedRegistryHedgedReads.RpcClientImpl
extends Object
implements org.apache.hadoop.hbase.ipc.RpcClient
-
Field Summary
Fields inherited from interface org.apache.hadoop.hbase.ipc.RpcClient
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 Summary
ConstructorDescriptionRpcClientImpl
(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, org.apache.hadoop.hbase.client.MetricsConnection metrics, Map<String, byte[]> attributes) -
Method Summary
Modifier and TypeMethodDescriptionvoid
cancelConnections
(org.apache.hadoop.hbase.ServerName sn) void
close()
org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel
createBlockingRpcChannel
(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout) org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel
createRpcChannel
(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout) boolean
-
Constructor Details
-
RpcClientImpl
public RpcClientImpl(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, org.apache.hadoop.hbase.client.MetricsConnection metrics, Map<String, byte[]> attributes)
-
-
Method Details
-
createBlockingRpcChannel
public org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannel createBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout) - Specified by:
createBlockingRpcChannel
in interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
createRpcChannel
public org.apache.hbase.thirdparty.com.google.protobuf.RpcChannel createRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout) - Specified by:
createRpcChannel
in interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
cancelConnections
- Specified by:
cancelConnections
in interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Specified by:
close
in interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
hasCellBlockSupport
- Specified by:
hasCellBlockSupport
in interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-