程序包 | 说明 |
---|---|
com.sinacloud.scs.retry |
限定符和类型 | 类和说明 |
---|---|
static class |
PredefinedRetryPolicies.SDKDefaultRetryCondition
The default implementation of RetryCondition used by the SDK.
|
限定符和类型 | 字段和说明 |
---|---|
static RetryPolicy.RetryCondition |
PredefinedRetryPolicies.DEFAULT_RETRY_CONDITION
The SDK default retry condition, which checks for various conditions in
the following order:
Never retry on requests with non-repeatable content;
Retry on client exceptions caused by IOException;
Retry on service exceptions that are either 500 internal server
errors, 503 service unavailable errors, service throttling errors or
clock skew errors.
|
限定符和类型 | 方法和说明 |
---|---|
RetryPolicy.RetryCondition |
RetryPolicy.getRetryCondition()
Returns the retry condition included in this retry policy.
|
构造器和说明 |
---|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig)
Constructs a new retry policy.
|
Copyright © 2016. All rights reserved.