| Package | Description |
|---|---|
| com.baidubce | |
| com.baidubce.http | |
| com.baidubce.services.bos | |
| com.baidubce.services.ses | |
| com.baidubce.services.sms |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
BosClientConfiguration |
BosClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
SesClientConfiguration |
SesClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy) |
| Modifier and Type | Method and Description |
|---|---|
SmsClientConfiguration |
SmsClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy) |
Copyright © 2021. All rights reserved.