Interface RetryOptionsProvider.RetryOptions.FixedRetryOptions

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

public static interface RetryOptionsProvider.RetryOptions.FixedRetryOptions
Interface to be implemented by classes that wish to describe retry options of fixed retry mode.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the delay duration.
    The maximum number of attempts.
  • Method Details

    • getMaxRetries

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

      Duration getDelay()
      Get the delay duration.
      Returns:
      the delay duration.