| Package | Description |
|---|---|
| com.baidubce | |
| com.baidubce.http |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicy |
BceClientConfiguration.getRetryPolicy()
Returns the retry policy for failed requests.
|
| Modifier and Type | Method and Description |
|---|---|
void |
BceClientConfiguration.setRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy for failed requests.
|
BceClientConfiguration |
BceClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy for failed requests, and returns the updated configuration instance.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultRetryPolicy
Retry policy that can be configured on a specific service client using
BceClientConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
protected long |
BceHttpClient.getDelayBeforeNextRetryInMillis(org.apache.http.client.methods.HttpRequestBase method,
BceClientException exception,
int attempt,
RetryPolicy retryPolicy)
Get delay time before next retry.
|
Copyright © 2026. All rights reserved.