Uses of Class
org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext
-
Uses of RetryingCallerInterceptorContext in org.apache.hadoop.hbase.client
Modifier and TypeClassDescription(package private) class
(package private) class
Modifier and TypeFieldDescriptionprivate final RetryingCallerInterceptorContext
RpcRetryingCallerImpl.context
private static final RetryingCallerInterceptorContext
NoOpRetryableCallerInterceptor.NO_OP_CONTEXT
Modifier and TypeMethodDescriptionNoOpRetryableCallerInterceptor.createEmptyContext()
PreemptiveFastFailInterceptor.createEmptyContext()
abstract RetryingCallerInterceptorContext
RetryingCallerInterceptor.createEmptyContext()
This returns the context object for the current call.NoOpRetryingInterceptorContext.prepare
(RetryingCallable<?> callable) NoOpRetryingInterceptorContext.prepare
(RetryingCallable<?> callable, int tries) abstract RetryingCallerInterceptorContext
RetryingCallerInterceptorContext.prepare
(RetryingCallable<?> callable) This prepares the context object by populating it with information specific to the implementation of theRetryingCallerInterceptor
along with which this will be used.abstract RetryingCallerInterceptorContext
RetryingCallerInterceptorContext.prepare
(RetryingCallable<?> callable, int tries) Telescopic extension that takes which of the many retries we are currently in.Modifier and TypeMethodDescriptionvoid
NoOpRetryableCallerInterceptor.handleFailure
(RetryingCallerInterceptorContext context, Throwable t) void
PreemptiveFastFailInterceptor.handleFailure
(RetryingCallerInterceptorContext context, Throwable t) abstract void
RetryingCallerInterceptor.handleFailure
(RetryingCallerInterceptorContext context, Throwable t) Call this function in case we caught a failure during retries.void
NoOpRetryableCallerInterceptor.intercept
(RetryingCallerInterceptorContext abstractRetryingCallerInterceptorContext) void
PreemptiveFastFailInterceptor.intercept
(RetryingCallerInterceptorContext context) abstract void
RetryingCallerInterceptor.intercept
(RetryingCallerInterceptorContext abstractRetryingCallerInterceptorContext) Call this function alongside the actual call done on the callable.void
NoOpRetryableCallerInterceptor.updateFailureInfo
(RetryingCallerInterceptorContext context) void
PreemptiveFastFailInterceptor.updateFailureInfo
(RetryingCallerInterceptorContext context) abstract void
RetryingCallerInterceptor.updateFailureInfo
(RetryingCallerInterceptorContext context) Call this function to update at the end of the retry.