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
Modifier and TypeFieldDescriptionprivate org.apache.hadoop.conf.Configuration
private final boolean
private static final org.slf4j.Logger
static final RetryingCallerInterceptor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
This builds the implementation ofRetryingCallerInterceptor
that 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 ofRetryingCallerInterceptor
that 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
RetryingCallerInterceptor
object according to the configuration.
-