Package | Description |
---|---|
com.ibm.cloud.objectstorage.retry |
Modifier and Type | Interface and Description |
---|---|
interface |
V2CompatibleBackoffStrategy
Adapter interface for backoff strategies that can be used in both legacy RetryPolicies and the new V2 retry policy.
|
Modifier and Type | Class and Description |
---|---|
static class |
PredefinedBackoffStrategies.EqualJitterBackoffStrategy |
static class |
PredefinedBackoffStrategies.ExponentialBackoffStrategy |
static class |
PredefinedBackoffStrategies.FullJitterBackoffStrategy |
static class |
PredefinedBackoffStrategies.SDKDefaultBackoffStrategy
A private class that implements the default back-off strategy.
|
Modifier and Type | Field and Description |
---|---|
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.DEFAULT_BACKOFF_STRATEGY
The SDK default back-off strategy, which increases exponentially up to a max amount of delay.
|
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.DYNAMODB_DEFAULT_BACKOFF_STRATEGY
The default back-off strategy for DynamoDB client, which increases
exponentially up to a max amount of delay.
|
static RetryPolicy.BackoffStrategy |
RetryPolicy.BackoffStrategy.NO_DELAY |
Modifier and Type | Method and Description |
---|---|
RetryPolicy.BackoffStrategy |
RetryPolicy.getBackoffStrategy()
Returns the back-off strategy included in this retry policy.
|
RetryPolicy.BackoffStrategy |
RetryPolicyAdapter.getBackoffStrategy() |
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.getDefaultBackoffStrategy(RetryMode retryMode) |
Modifier and Type | Method and Description |
---|---|
void |
RetryPolicy.RetryPolicyBuilder.setBackoffStrategy(RetryPolicy.BackoffStrategy backoffStrategy) |
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withBackoffStrategy(RetryPolicy.BackoffStrategy backoffStrategy)
Set the back-off strategy for controlling how long the next retry should wait.
|
Constructor and Description |
---|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig)
Constructs a new retry policy.
|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
boolean honorDefaultMaxErrorRetryInRetryMode,
boolean honorBackoffStrategyInRetryMode) |
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
RetryMode retryMode) |
Copyright © 2024. All rights reserved.