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 RetryOptionsProvider.RetryOptions
RetryOptionsProvider.RetryOptions.ExponentialRetryOptions, RetryOptionsProvider.RetryOptions.FixedRetryOptions -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet how long to wait until a timeout.voidsetTryTimeout(Duration tryTimeout) Set how long to wait until a timeout.Methods inherited from class RetryProperties
getExponential, getFixed, getMode, setModeMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface RetryOptionsProvider.RetryOptions
getExponential, getFixed, getMode
-
Constructor Details
-
AmqpRetryProperties
public AmqpRetryProperties()Creates an instance ofAmqpRetryProperties.
-
-
Method Details
-
getTryTimeout
Get how long to wait until a timeout.- Specified by:
getTryTimeoutin interfaceRetryOptionsProvider.AmqpRetryOptions- Returns:
- the timeout.
-
setTryTimeout
Set how long to wait until a timeout.- Parameters:
tryTimeout- the timeout.
-