Package | Description |
---|---|
com.microsoft.rest |
The package contains the runtime classes required for AutoRest generated
clients to compile and function.
|
com.microsoft.rest.retry |
The package contains classes that define the retry behaviors when an error
occurs during a REST call.
|
Modifier and Type | Method and Description |
---|---|
RestClient.Builder |
RestClient.Builder.withRetryStrategy(RetryStrategy strategy)
Adds a retry strategy to the client.
|
Modifier and Type | Class and Description |
---|---|
class |
ExponentialBackoffRetryStrategy
A retry strategy with backoff parameters for calculating the exponential delay between retries.
|
Modifier and Type | Method and Description |
---|---|
RetryStrategy |
RetryHandler.strategy() |
Constructor and Description |
---|
RetryHandler(RetryStrategy retryStrategy)
Initialized an instance of
RetryHandler class. |
Copyright © 2019. All rights reserved.