Package | Description |
---|---|
com.azure.core.http.policy |
Package containing HttpPipelinePolicy interface and its implementations.
|
Modifier and Type | Class and Description |
---|---|
class |
ExponentialBackoff
A truncated exponential backoff implementation of
RetryStrategy that has a delay duration that exponentially
increases with each retry attempt until an upper bound is reached after which every retry attempt is delayed by the
provided max delay duration. |
class |
FixedDelay
A fixed-delay implementation of
RetryStrategy that has a fixed delay duration between each retry attempt. |
Constructor and Description |
---|
RetryPolicy(RetryStrategy retryStrategy)
Creates a
RetryPolicy with the provided RetryStrategy . |
RetryPolicy(RetryStrategy retryStrategy,
String retryAfterHeader,
ChronoUnit retryAfterTimeUnit)
Creates
RetryPolicy with the provided RetryStrategy and default ExponentialBackoff as
RetryStrategy . |
Copyright © 2021 Microsoft Corporation. All rights reserved.