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