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
ConstructorsConstructorDescriptionRpcClientImpl(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 TypeMethodDescriptionvoidcancelConnections(org.apache.hadoop.hbase.ServerName sn) voidclose()org.apache.hbase.thirdparty.com.google.protobuf.BlockingRpcChannelcreateBlockingRpcChannel(org.apache.hadoop.hbase.ServerName sn, org.apache.hadoop.hbase.security.User user, int rpcTimeout) org.apache.hbase.thirdparty.com.google.protobuf.RpcChannelcreateRpcChannel(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:
createBlockingRpcChannelin 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:
createRpcChannelin interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
cancelConnections
- Specified by:
cancelConnectionsin interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
close
- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceCloseable- Specified by:
closein interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-
hasCellBlockSupport
- Specified by:
hasCellBlockSupportin interfaceorg.apache.hadoop.hbase.ipc.RpcClient
-