@InterfaceAudience.Private public class RpcRetryingCallerFactory extends Object
RpcRetryingCaller
Modifier and Type | Field and Description |
---|---|
static String |
CUSTOM_CALLER_CONF_KEY
Configuration key for a custom
RpcRetryingCaller |
Constructor and Description |
---|
RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf,
ConnectionConfiguration connectionConf) |
RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf,
ConnectionConfiguration connectionConf,
org.apache.hadoop.hbase.client.RetryingCallerInterceptor interceptor,
MetricsConnection metrics) |
Modifier and Type | Method and Description |
---|---|
static RpcRetryingCallerFactory |
instantiate(org.apache.hadoop.conf.Configuration configuration,
ConnectionConfiguration connectionConf,
MetricsConnection metrics) |
static RpcRetryingCallerFactory |
instantiate(org.apache.hadoop.conf.Configuration configuration,
ConnectionConfiguration connectionConf,
org.apache.hadoop.hbase.client.RetryingCallerInterceptor interceptor,
ServerStatisticTracker stats,
MetricsConnection metrics) |
static RpcRetryingCallerFactory |
instantiate(org.apache.hadoop.conf.Configuration configuration,
ConnectionConfiguration connectionConf,
ServerStatisticTracker stats,
MetricsConnection metrics) |
static RpcRetryingCallerFactory |
instantiate(org.apache.hadoop.conf.Configuration configuration,
MetricsConnection metrics) |
<T> RpcRetryingCaller<T> |
newCaller()
Create a new RetryingCaller with configured rpc timeout.
|
<T> RpcRetryingCaller<T> |
newCaller(int rpcTimeout)
Create a new RetryingCaller with specific rpc timeout.
|
public static final String CUSTOM_CALLER_CONF_KEY
RpcRetryingCaller
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf)
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf, org.apache.hadoop.hbase.client.RetryingCallerInterceptor interceptor, MetricsConnection metrics)
public <T> RpcRetryingCaller<T> newCaller(int rpcTimeout)
public <T> RpcRetryingCaller<T> newCaller()
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, MetricsConnection metrics)
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, MetricsConnection metrics)
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, ServerStatisticTracker stats, MetricsConnection metrics)
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, org.apache.hadoop.hbase.client.RetryingCallerInterceptor interceptor, ServerStatisticTracker stats, MetricsConnection metrics)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.