| Package | Description |
|---|---|
| com.azure.core.amqp |
Package containing classes common to AMQP protocol.
|
| Modifier and Type | Method and Description |
|---|---|
AmqpRetryOptions |
AmqpRetryPolicy.getRetryOptions()
Gets the set of options used to configure this retry policy.
|
AmqpRetryOptions |
AmqpRetryOptions.setDelay(Duration delay)
Gets the delay between retry attempts for a fixed approach or the delay on which to base calculations for a
backoff-approach.
|
AmqpRetryOptions |
AmqpRetryOptions.setMaxDelay(Duration maximumDelay)
Sets the maximum permissible delay between retry attempts.
|
AmqpRetryOptions |
AmqpRetryOptions.setMaxRetries(int numberOfRetries)
Sets the maximum number of retry attempts before considering the associated operation to have failed.
|
AmqpRetryOptions |
AmqpRetryOptions.setMode(AmqpRetryMode retryMode)
Sets the approach to use for calculating retry delays.
|
AmqpRetryOptions |
AmqpRetryOptions.setTryTimeout(Duration tryTimeout)
Sets the maximum duration to wait for completion of a single attempt, whether the initial attempt or a retry.
|
| Constructor and Description |
|---|
AmqpRetryOptions(AmqpRetryOptions retryOptions)
Creates an instance configured with
retryOptions. |
AmqpRetryPolicy(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.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.