Interface RetryContext<T>

Type Parameters:
T - Application context type
All Superinterfaces:
IterationContext<T>
All Known Implementing Classes:
DefaultContext

@Deprecated public interface RetryContext<T> extends IterationContext<T>
Deprecated.
Use equivalent features of reactor-core like RetrySpec and RetryBackoffSpec instead.
Context provided to retry predicate Retry.onlyIf(java.util.function.Predicate) and the retry callback Retry.doOnRetry(java.util.function.Consumer).
  • Method Details

    • exception

      Throwable exception()
      Deprecated.
      Returns the exception from the last iteration.
      Returns:
      exception that resulted in retry