Annotation Type FixedDelayRetry


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

    Defines a retry strategy where a fixed delay is used between retries.

    Since:
    1.0.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String delayInterval
      The delay between retries.
      int maxRetryCount
      The maximum number of retries that will be attempted.
    • 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 delay between retries.
      • delayInterval

        java.lang.String delayInterval
        The delay between retries.
        Returns:
        The delay interval.
      • strategy

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