Annotation Interface RetryFibonacciBackoff
@Inherited
@Documented
@Retention(RUNTIME)
@Target({METHOD,TYPE})
public @interface RetryFibonacciBackoff
A retry policy that increases the delay time following the Fibonacci sequence.
Allowed elements that are also annotated with
@Retry
.
Expected sequence: initial delay, 2 * initial delay + jitter, 3 * initial delay + jitter,
5 * initial delay + jitter, etc. maxDelayInMillis
is used to prevent endless waiting.-
Optional Element Summary
-
Element Details
-
initialDelay
long initialDelayInitial Delay in Milliseconds. Default is 2.- Returns:
- Milliseconds long
- Default:
- 2L
-