Package | Description |
---|---|
com.azure.cosmos |
This package provides interfaces for interacting with Azure Cosmos DB.
|
Modifier and Type | Method and Description |
---|---|
ThrottlingRetryOptions |
ThrottlingRetryOptions.setMaxRetryAttemptsOnThrottledRequests(int maxRetryAttemptsOnThrottledRequests)
Sets the maximum number of retries in the case where the request fails
because the service has applied rate limiting on the client.
|
ThrottlingRetryOptions |
ThrottlingRetryOptions.setMaxRetryWaitTime(Duration maxRetryWaitTime)
Sets the maximum retry time in seconds.
|
Modifier and Type | Method and Description |
---|---|
CosmosClientBuilder |
CosmosClientBuilder.throttlingRetryOptions(ThrottlingRetryOptions throttlingRetryOptions)
Sets the retry policy options associated with the DocumentClient instance.
|
Copyright © 2021 Microsoft Corporation. All rights reserved.