Package | Description |
---|---|
com.ibm.cloud.objectstorage | |
com.ibm.cloud.objectstorage.retry | |
com.ibm.cloud.objectstorage.retry.internal |
Modifier and Type | Method and Description |
---|---|
RetryMode |
ClientConfiguration.getRetryMode() |
Modifier and Type | Method and Description |
---|---|
void |
ClientConfiguration.setRetryMode(RetryMode retryMode)
Sets the RetryMode to use
|
ClientConfiguration |
ClientConfiguration.withRetryMode(RetryMode retryMode)
Sets the RetryMode to use
|
Modifier and Type | Method and Description |
---|---|
static RetryMode |
RetryMode.fromName(String value)
Returns a retry mode enum corresponding to the given retryMode name.
|
RetryMode |
RetryPolicy.getRetryMode()
Returns the
RetryMode to be used. |
static RetryMode |
RetryMode.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RetryMode[] |
RetryMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static RetryPolicy.BackoffStrategy |
PredefinedRetryPolicies.getDefaultBackoffStrategy(RetryMode retryMode) |
void |
RetryPolicy.RetryPolicyBuilder.setRetryMode(RetryMode retryMode) |
RetryPolicy.RetryPolicyBuilder |
RetryPolicy.RetryPolicyBuilder.withRetryMode(RetryMode retryMode)
Set the retry mode for the client.
|
Constructor and Description |
---|
RetryPolicy(RetryPolicy.RetryCondition retryCondition,
RetryPolicy.BackoffStrategy backoffStrategy,
int maxErrorRetry,
boolean honorMaxErrorRetryInClientConfig,
RetryMode retryMode) |
Modifier and Type | Method and Description |
---|---|
RetryMode |
RetryModeResolver.retryMode() |
Copyright © 2024. All rights reserved.