Annotation Type ExponentialBackoffRetry


  • @Retention(RUNTIME)
    @Target(METHOD)
    public @interface ExponentialBackoffRetry

    Defines an exponential backoff retry strategy, where the delay between retries will get progressively larger, limited by the max/min specified.

    Since:
    1.0.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String maximumInterval
      The maximum delay interval.
      int maxRetryCount
      The maximum number of retries that will be attempted.
      java.lang.String minimumInterval
      The minimum delay interval.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String strategy
      The strategy of retries that will be used internally.
    • Element Detail

      • maxRetryCount

        int maxRetryCount
        The maximum number of retries that will be attempted.
        Returns:
        The maximum retry count.
      • minimumInterval

        java.lang.String minimumInterval
        The minimum delay interval.
        Returns:
        The minimum retry delay.
      • maximumInterval

        java.lang.String maximumInterval
        The maximum delay interval.
        Returns:
        The maximum retry delay.
      • strategy

        java.lang.String strategy
        The strategy of retries that will be used internally.
        Returns:
        The strategy of retries.
        Default:
        "exponentialBackoff"