Class AmqpRetryProperties
java.lang.Object
com.azure.spring.cloud.core.properties.retry.RetryProperties
com.azure.spring.cloud.core.properties.retry.AmqpRetryProperties
- All Implemented Interfaces:
RetryOptionsProvider.AmqpRetryOptions
,RetryOptionsProvider.RetryOptions
public class AmqpRetryProperties
extends RetryProperties
implements RetryOptionsProvider.AmqpRetryOptions
Unified http retry properties for all Azure SDKs based on HTTP.
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions
RetryOptionsProvider.RetryOptions.ExponentialRetryOptions, RetryOptionsProvider.RetryOptions.FixedRetryOptions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet how long to wait until a timeout.void
setTryTimeout
(Duration tryTimeout) Set how long to wait until a timeout.Methods inherited from class com.azure.spring.cloud.core.properties.retry.RetryProperties
getExponential, getFixed, getMode, setMode
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.spring.cloud.core.provider.RetryOptionsProvider.RetryOptions
getExponential, getFixed, getMode
-
Constructor Details
-
AmqpRetryProperties
public AmqpRetryProperties()
-
-
Method Details
-
getTryTimeout
Get how long to wait until a timeout.- Specified by:
getTryTimeout
in interfaceRetryOptionsProvider.AmqpRetryOptions
- Returns:
- the timeout.
-
setTryTimeout
Set how long to wait until a timeout.- Parameters:
tryTimeout
- the timeout.
-