Interface IterationContext<T>

Type Parameters:
T - Application context type
All Known Subinterfaces:
RepeatContext<T>, RetryContext<T>
All Known Implementing Classes:
DefaultContext

public interface IterationContext<T>
Context provided to retry or repeat callbacks.
  • Method Summary

    Modifier and Type Method Description
    T applicationContext()
    Application context that may be used to perform any rollbacks before a retry.
    Duration backoff()
    The backoff delay.
    long iteration()
    The next iteration number.