Class 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 Detail

      • FixedRetryConfigurationProperties

        public FixedRetryConfigurationProperties()
    • Method Detail

      • 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.