@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.prepare in class RetryingCallerInterceptorContextcallable - : The RetryingCallable that contains the information about
the call that is being made.RetryingCallerInterceptorContext object that can be
used for use in the current retrying callpublic RetryingCallerInterceptorContext prepare(RetryingCallable<?> callable, int tries)
RetryingCallerInterceptorContextprepare in class RetryingCallerInterceptorContextcallable - : The RetryingCallable that contains the information about
the call that is being made.tries - : The retry number that we are currently in.Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.