| Package | Description |
|---|---|
| com.baidubce | |
| com.baidubce.http |
| Modifier and Type | Class and Description |
|---|---|
class |
BceServiceException
Extension of BceClientException that represents an error response returned by a BCE service.
|
| Modifier and Type | Method and Description |
|---|---|
long |
RetryPolicy.getDelayBeforeNextRetryInMillis(BceClientException exception,
int retriesAttempted)
Returns the delay (in milliseconds) before next retry attempt.
|
long |
DefaultRetryPolicy.getDelayBeforeNextRetryInMillis(BceClientException exception,
int retriesAttempted)
Returns the delay (in milliseconds) before next retry attempt.
|
protected long |
BceHttpClient.getDelayBeforeNextRetryInMillis(org.apache.http.client.methods.HttpRequestBase method,
BceClientException exception,
int attempt,
RetryPolicy retryPolicy)
Get delay time before next retry.
|
protected boolean |
DefaultRetryPolicy.shouldRetry(BceClientException exception,
int retriesAttempted)
Returns whether a failed request should be retried according to the given request context.
|
Copyright © 2015. All rights reserved.