Package | Description |
---|---|
com.ibm.cloud.objectstorage.retry |
Modifier and Type | Method and Description |
---|---|
static RetryPolicy.RetryPolicyBuilder |
RetryPolicy.builder() |
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withBackoffStrategy(RetryPolicy.BackoffStrategy backoffStrategy)
Set the back-off strategy for controlling how long the next retry should wait.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withFastFailRateLimiting(boolean fastFailRateLimiting)
Whether the client should fail immediately when it cannot immediately make a request because there is not enough capacity in the rate limiter.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withHonorDefaultBackoffStrategyInRetryMode(boolean honorBackOffStrategyInRetryMode)
Whether the policy should honor the backoff strategy dictated by the configured retry mode.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withHonorDefaultMaxErrorRetryInRetryMode(boolean honorDefaultMaxErrorRetryInRetryMode)
Whether the policy should honor the max error retries dictated by the configured retry mode.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withHonorMaxErrorRetryInClientConfig(boolean honorMaxErrorRetryInClientConfig)
Set whether this retry policy should honor the max error retry set by
ClientConfiguration.setMaxErrorRetry(int) . |
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withMaxErrorRetry(int maxErrorRetry)
Set aximum number of retry attempts for failed requests.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withRetryCondition(RetryPolicy.RetryCondition retryCondition)
Set the retry condition on whether a specific request and exception should be retried.
|
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withRetryMode(RetryMode retryMode)
Set the retry mode for the client.
|
Copyright © 2024. All rights reserved.