@InterfaceAudience.Private class NoOpRetryingInterceptorContext extends RetryingCallerInterceptorContext
| Constructor and Description |
|---|
NoOpRetryingInterceptorContext() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
This function clears the internal state of the context object.
|
RetryingCallerInterceptorContext |
prepare(RetryingCallable<?> callable)
This prepares the context object by populating it with information specific to the
implementation of the
RetryingCallerInterceptor along with which this will be used. |
RetryingCallerInterceptorContext |
prepare(RetryingCallable<?> callable,
int tries)
Telescopic extension that takes which of the many retries we are currently in.
|
NoOpRetryingInterceptorContext()
public void clear()
RetryingCallerInterceptorContextclear in class RetryingCallerInterceptorContextpublic RetryingCallerInterceptorContext prepare(RetryingCallable<?> callable)
RetryingCallerInterceptorContextRetryingCallerInterceptor along with which this will be used. n *
: The RetryingCallable that contains the information about the call that is being made.prepare in class RetryingCallerInterceptorContextRetryingCallerInterceptorContext object that can be used for use in the
current retrying callpublic RetryingCallerInterceptorContext prepare(RetryingCallable<?> callable, int tries)
RetryingCallerInterceptorContextRetryingCallable that contains the information about the call that is being made. n * :
The retry number that we are currently in.prepare in class RetryingCallerInterceptorContextCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.