Package org.apache.hadoop.hbase.client
Class NoOpRetryingInterceptorContext
java.lang.Object
org.apache.hadoop.hbase.client.RetryingCallerInterceptorContext
org.apache.hadoop.hbase.client.NoOpRetryingInterceptorContext
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
This function clears the internal state of the context object.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.prepare
(RetryingCallable<?> callable, int tries) Telescopic extension that takes which of the many retries we are currently in.
-
Constructor Details
-
NoOpRetryingInterceptorContext
-
-
Method Details
-
clear
Description copied from class:RetryingCallerInterceptorContext
This function clears the internal state of the context object.- Specified by:
clear
in classRetryingCallerInterceptorContext
-
prepare
Description copied from class:RetryingCallerInterceptorContext
This prepares the context object by populating it with information specific to the implementation of theRetryingCallerInterceptor
along with which this will be used. : TheRetryingCallable
that contains the information about the call that is being made.- Specified by:
prepare
in classRetryingCallerInterceptorContext
- Returns:
- A new
RetryingCallerInterceptorContext
object that can be used for use in the current retrying call
-
prepare
Description copied from class:RetryingCallerInterceptorContext
Telescopic extension that takes which of the many retries we are currently in. : TheRetryingCallable
that contains the information about the call that is being made. : The retry number that we are currently in.- Specified by:
prepare
in classRetryingCallerInterceptorContext
- Returns:
- A new context object that can be used for use in the current retrying call
-