Uses of Class
com.azure.core.amqp.AmqpRetryOptions
Packages that use AmqpRetryOptions
Package
Description
Package containing classes common to AMQP protocol.
This package contains interfaces that represent common cross-cutting (and AMQP-related) aspects of functionality
offered by libraries in the Azure SDK for Java.
-
Uses of AmqpRetryOptions in com.azure.core.amqp
Methods in com.azure.core.amqp that return AmqpRetryOptionsModifier and TypeMethodDescriptionAmqpRetryPolicy.getRetryOptions()Gets the set of options used to configure this retry policy.Gets the delay between retry attempts for a fixed approach or the delay on which to base calculations for a backoff-approach.AmqpRetryOptions.setMaxDelay(Duration maximumDelay) Sets the maximum permissible delay between retry attempts.AmqpRetryOptions.setMaxRetries(int numberOfRetries) Sets the maximum number of retry attempts before considering the associated operation to have failed.AmqpRetryOptions.setMode(AmqpRetryMode retryMode) Sets the approach to use for calculating retry delays.AmqpRetryOptions.setTryTimeout(Duration tryTimeout) Sets the maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.Constructors in com.azure.core.amqp with parameters of type AmqpRetryOptionsModifierConstructorDescriptionAmqpRetryOptions(AmqpRetryOptions retryOptions) Creates an instance configured withretryOptions.protectedAmqpRetryPolicy(AmqpRetryOptions retryOptions) Creates an instance with the given retry options.ExponentialAmqpRetryPolicy(AmqpRetryOptions retryOptions) Creates a new instance with a minimum and maximum retry period in addition to maximum number of retry attempts.FixedAmqpRetryPolicy(AmqpRetryOptions retryOptions) Creates an instance with the given retry options. -
Uses of AmqpRetryOptions in com.azure.core.amqp.client.traits
Methods in com.azure.core.amqp.client.traits with parameters of type AmqpRetryOptionsModifier and TypeMethodDescriptionAmqpTrait.retryOptions(AmqpRetryOptions retryOptions) Sets the retry policy.