Modifier and Type | Method and Description |
---|---|
RetryOptions |
ConnectionPolicy.getRetryOptions()
Gets the retry policy options associated with the DocumentClient instance.
|
RetryOptions |
RetryOptions.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.
|
RetryOptions |
RetryOptions.setMaxRetryWaitTimeInSeconds(int maxRetryWaitTimeInSeconds)
Sets the maximum retry time in seconds.
|
Modifier and Type | Method and Description |
---|---|
ConnectionPolicy |
ConnectionPolicy.setRetryOptions(RetryOptions retryOptions)
Sets the retry policy options associated with the DocumentClient instance.
|
Copyright © 2020 Microsoft Corporation. All rights reserved.