Package org.apache.hadoop.hbase.client
Class RpcRetryingCallerFactory
java.lang.Object
org.apache.hadoop.hbase.client.RpcRetryingCallerFactory
Factory to create an
RpcRetryingCaller-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ConnectionConfigurationstatic final StringConfiguration key for a customRpcRetryingCallerprivate final RetryingCallerInterceptorprivate final MetricsConnectionprivate final int -
Constructor Summary
ConstructorsConstructorDescriptionRpcRetryingCallerFactory(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 RpcRetryingCallerFactoryinstantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, MetricsConnection metrics) static RpcRetryingCallerFactoryinstantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, RetryingCallerInterceptor interceptor, ServerStatisticTracker stats, MetricsConnection metrics) static RpcRetryingCallerFactoryinstantiate(org.apache.hadoop.conf.Configuration configuration, ConnectionConfiguration connectionConf, ServerStatisticTracker stats, MetricsConnection metrics) static RpcRetryingCallerFactoryinstantiate(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)
-