@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.prepare
in class RetryingCallerInterceptorContext
callable
- : 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)
RetryingCallerInterceptorContext
prepare
in class RetryingCallerInterceptorContext
callable
- : The RetryingCallable
that contains the information about
the call that is being made.tries
- : The retry number that we are currently in.Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.