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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()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 theRetryingCallerInterceptoralong 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:RetryingCallerInterceptorContextThis function clears the internal state of the context object.- Specified by:
clearin classRetryingCallerInterceptorContext
-
prepare
Description copied from class:RetryingCallerInterceptorContextThis prepares the context object by populating it with information specific to the implementation of theRetryingCallerInterceptoralong with which this will be used. : TheRetryingCallablethat contains the information about the call that is being made.- Specified by:
preparein classRetryingCallerInterceptorContext- Returns:
- A new
RetryingCallerInterceptorContextobject that can be used for use in the current retrying call
-
prepare
Description copied from class:RetryingCallerInterceptorContextTelescopic extension that takes which of the many retries we are currently in. : TheRetryingCallablethat contains the information about the call that is being made. : The retry number that we are currently in.- Specified by:
preparein classRetryingCallerInterceptorContext- Returns:
- A new context object that can be used for use in the current retrying call
-