Package | Description |
---|---|
com.ibm.cloud.objectstorage | |
com.ibm.cloud.objectstorage.retry |
Modifier and Type | Field and Description |
---|---|
static RetryPolicy |
ClientConfiguration.DEFAULT_RETRY_POLICY
Default request retry policy, including the maximum retry count of 3, the default retry
condition and the default back-off strategy.
|
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
ClientConfiguration.getRetryPolicy()
Returns the retry policy upon failed requests.
|
Modifier and Type | Method and Description |
---|---|
void |
ClientConfiguration.setRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests.
|
ClientConfiguration |
ClientConfiguration.withRetryPolicy(RetryPolicy retryPolicy)
Sets the retry policy upon failed requests, and returns the updated ClientConfiguration
object.
|
Modifier and Type | Field and Description |
---|---|
static RetryPolicy |
PredefinedRetryPolicies.DEFAULT
SDK default retry policy.
|
static RetryPolicy |
PredefinedRetryPolicies.DYNAMODB_DEFAULT
Default policy for DynamoDB client
|
static RetryPolicy |
PredefinedRetryPolicies.NO_RETRY_POLICY
No retry policy
|
Modifier and Type | Method and Description |
---|---|
RetryPolicy |
RetryPolicy.RetryPolicyBuilder.build() |
static RetryPolicy |
PredefinedRetryPolicies.getDefaultRetryPolicy()
Returns the SDK default retry policy.
|
static RetryPolicy |
PredefinedRetryPolicies.getDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
Returns the SDK default retry policy with the specified max retry count.
|
static RetryPolicy |
PredefinedRetryPolicies.getDynamoDBDefaultRetryPolicy()
Returns the default retry policy for DynamoDB client.
|
static RetryPolicy |
PredefinedRetryPolicies.getDynamoDBDefaultRetryPolicyWithCustomMaxRetries(int maxErrorRetry)
Returns the default retry policy for DynamoDB client with the specified
max retry count.
|
RetryPolicy |
RetryPolicyAdapter.getLegacyRetryPolicy() |
Constructor and Description |
---|
RetryPolicyAdapter(RetryPolicy legacyRetryPolicy,
ClientConfiguration clientConfiguration) |
Copyright © 2024. All rights reserved.