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 Summary
Constructors Constructor Description FixedRetryConfigurationProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DurationgetDelay()IntegergetMaxRetries()voidsetDelay(Duration delay)Set the amount of time to wait between retry attempts.voidsetMaxRetries(Integer maxRetries)Set the maximum number attempts.
-
-
-
Method Detail
-
getMaxRetries
public Integer getMaxRetries()
- Specified by:
getMaxRetriesin interfacecom.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:
getDelayin interfacecom.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.
-
-