Package org.apache.hadoop.hbase.client
Class RpcRetryingCallerFactory
java.lang.Object
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory
Factory to create an
RpcRetryingCaller
-
Field Summary
Modifier and TypeFieldDescriptionprivate final ConnectionConfiguration
static final String
Configuration key for a customRpcRetryingCaller
private final RetryingCallerInterceptor
private final MetricsConnection
private final int
-
Constructor Summary
ConstructorDescriptionRpcRetryingCallerFactory
(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf) RpcRetryingCallerFactory
(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf, RetryingCallerInterceptor interceptor, MetricsConnection metrics) -
Method Summary
Modifier and TypeMethodDescriptionstatic RpcRetryingCallerFactory
instantiate
(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, MetricsConnection metrics) static RpcRetryingCallerFactory
instantiate
(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, 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>
Create a new RetryingCaller with configured rpc timeout.<T> RpcRetryingCaller<T>
newCaller
(int rpcTimeout) Create a new RetryingCaller with specific rpc timeout.
-
Field Details
-
CUSTOM_CALLER_CONF_KEY
Configuration key for a customRpcRetryingCaller
- See Also:
-
connectionConf
-
interceptor
-
startLogErrorsCnt
-
metrics
-
-
Constructor Details
-
RpcRetryingCallerFactory
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf) -
RpcRetryingCallerFactory
public RpcRetryingCallerFactory(org.apache.hadoop.conf.Configuration conf, ConnectionConfiguration connectionConf, RetryingCallerInterceptor interceptor, MetricsConnection metrics)
-
-
Method Details
-
newCaller
Create a new RetryingCaller with specific rpc timeout. -
newCaller
Create a new RetryingCaller with configured rpc timeout. -
instantiate
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, MetricsConnection metrics) -
instantiate
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, MetricsConnection metrics) -
instantiate
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, ServerStatisticTracker stats, MetricsConnection metrics) -
instantiate
public static RpcRetryingCallerFactory instantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, RetryingCallerInterceptor interceptor, ServerStatisticTracker stats, MetricsConnection metrics)
-