Annotation Type RetryExponentialBackoff
-
@Inherited @Documented @Retention(RUNTIME) @Target({METHOD,TYPE}) public @interface RetryExponentialBackoff
A retry policy that increases the delay time following an exponential sequence. Allowed elements that are also annotated with@Retry
. Expected sequence if factor is 2: initial delay, 2 * initial delay + jitter, 4 * initial delay + jitter, 8 * initial delay + jitter, etc.maxDelay
is used to prevent endless waiting.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description int
factor
Multiplication factor.long
initialDelay
Initial Delay.
-