Package org.apache.hadoop.hbase.client
Class RetryingCallerInterceptorFactory
java.lang.Object
org.apache.hadoop.hbase.client.RetryingCallerInterceptorFactory
Factory implementation to provide the
ConnectionImplementation with the implementation of
the RetryingCallerInterceptor that we would use to intercept the
RpcRetryingCaller during the course of their calls.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configurationprivate final booleanprivate static final org.slf4j.Loggerstatic final RetryingCallerInterceptor -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()This builds the implementation ofRetryingCallerInterceptorthat we specify in the conf and returns the same.
-
Field Details
-
LOG
-
conf
-
failFast
-
NO_OP_INTERCEPTOR
-
-
Constructor Details
-
RetryingCallerInterceptorFactory
-
-
Method Details
-
build
This builds the implementation ofRetryingCallerInterceptorthat we specify in the conf and returns the same. To usePreemptiveFastFailInterceptor, set HBASE_CLIENT_ENABLE_FAST_FAIL_MODE to true. HBASE_CLIENT_FAST_FAIL_INTERCEPTOR_IMPL is defaulted toPreemptiveFastFailInterceptor- Returns:
- The factory build method which creates the
RetryingCallerInterceptorobject according to the configuration.
-