T applicationContext()Application context that may be used to perform any rollbacks before a retry. Application context can be configured using
- application context
long iteration()The next iteration number. This is a zero-based incrementing number with the first attempt prior to any retries as iteration zero.
- the current iteration number
Duration backoff()The backoff delay. When
Backofffunction is invoked, the previous backoff is provided in the context. The context provided for the retry predicates
Repeat.onlyIf(java.util.function.Predicate)as well as the retry callbacks
Repeat.doOnRepeat(java.util.function.Consumer)provide the backoff delay for the next retry.
- Backoff delay