Interface RetryOptionsProvider.RetryOptions.ExponentialRetryOptions

All Known Implementing Classes:
ExponentialRetryProperties
Enclosing interface:
RetryOptionsProvider.RetryOptions

public static interface RetryOptionsProvider.RetryOptions.ExponentialRetryOptions
Interface to be implemented by classes that wish to describe retry options of exponential retry mode.
  • Method Details

    • getMaxRetries

      Integer getMaxRetries()
      The maximum number of attempts.
      Returns:
      the max attempts.
    • getBaseDelay

      Duration getBaseDelay()
      Get the delay duration.
      Returns:
      the delay duration.
    • getMaxDelay

      Duration getMaxDelay()
      Get the max delay duration.
      Returns:
      the max delay duration.