Interface RetryContext<T>
- Type Parameters:
T
- Application context type
- All Superinterfaces:
IterationContext<T>
- All Known Implementing Classes:
DefaultContext
Deprecated.
Context provided to retry predicate
Retry.onlyIf(java.util.function.Predicate)
and
the retry callback Retry.doOnRetry(java.util.function.Consumer)
.-
Method Summary
Methods inherited from interface com.couchbase.client.core.retry.reactor.IterationContext
applicationContext, backoff, iteration
-
Method Details
-
exception
Throwable exception()Deprecated.Returns the exception from the last iteration.- Returns:
- exception that resulted in retry
-
RetrySpec
andRetryBackoffSpec
instead.