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 -
Method Summary
Modifier and TypeMethodDescriptiongetDelay()
void
Set the amount of time to wait between retry attempts.void
setMaxRetries
(Integer maxRetries) Set the maximum number attempts.
-
Constructor Details
-
FixedRetryConfigurationProperties
public FixedRetryConfigurationProperties()
-
-
Method Details
-
getMaxRetries
- Specified by:
getMaxRetries
in interfacecom.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions
-
setMaxRetries
Set the maximum number attempts.- Parameters:
maxRetries
- the maximum number attempts.
-
getDelay
- Specified by:
getDelay
in interfacecom.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions.FixedRetryOptions
-
setDelay
Set the amount of time to wait between retry attempts.- Parameters:
delay
- the amount of time to wait between retry attempts.
-