Class FixedRetryConfigurationProperties

java.lang.Object
com.azure.spring.cloud.autoconfigure.properties.core.retry.FixedRetryConfigurationProperties
All Implemented Interfaces:
com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions

public class FixedRetryConfigurationProperties extends Object implements com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions
Properties of the fixed retry mode.
  • Constructor Details

    • FixedRetryConfigurationProperties

      public FixedRetryConfigurationProperties()
  • Method Details

    • getMaxRetries

      public Integer getMaxRetries()
      Specified by:
      getMaxRetries in interface com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions
    • setMaxRetries

      public void setMaxRetries(Integer maxRetries)
      Set the maximum number attempts.
      Parameters:
      maxRetries - the maximum number attempts.
    • getDelay

      public Duration getDelay()
      Specified by:
      getDelay in interface com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions
    • setDelay

      public void setDelay(Duration delay)
      Set the amount of time to wait between retry attempts.
      Parameters:
      delay - the amount of time to wait between retry attempts.