public static final class TestMasterRegistryHedgedReads.RpcClientImpl extends Object implements 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, SOCKET_TIMEOUT_CONNECT, SOCKET_TIMEOUT_READ, SOCKET_TIMEOUT_WRITE, SPECIFIC_WRITE_THREAD
Constructor and Description |
---|
RpcClientImpl(org.apache.hadoop.conf.Configuration configuration,
String clusterId,
SocketAddress localAddress,
org.apache.hadoop.hbase.client.MetricsConnection metrics) |
Modifier and Type | Method and Description |
---|---|
void |
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 |
hasCellBlockSupport() |
public RpcClientImpl(org.apache.hadoop.conf.Configuration configuration, String clusterId, SocketAddress localAddress, org.apache.hadoop.hbase.client.MetricsConnection metrics)
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) throws IOException
createBlockingRpcChannel
in interface org.apache.hadoop.hbase.ipc.RpcClient
IOException
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) throws IOException
createRpcChannel
in interface org.apache.hadoop.hbase.ipc.RpcClient
IOException
public void cancelConnections(org.apache.hadoop.hbase.ServerName sn)
cancelConnections
in interface org.apache.hadoop.hbase.ipc.RpcClient
public void close()
close
in interface Closeable
close
in interface AutoCloseable
close
in interface org.apache.hadoop.hbase.ipc.RpcClient
public boolean hasCellBlockSupport()
hasCellBlockSupport
in interface org.apache.hadoop.hbase.ipc.RpcClient
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.