Annotation Type 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

      Optional Elements 
      Modifier and Type Optional Element Description
      long initialDelay
      Initial Delay in Milliseconds.
    • Element Detail

      • initialDelay

        long initialDelay
        Initial Delay in Milliseconds. Default is 2.
        Returns:
        Milliseconds long
        Default:
        2L