Package | Description |
---|---|
com.ibm.cloud.objectstorage.retry | |
com.ibm.cloud.objectstorage.retry.v2 |
Modifier and Type | Class and Description |
---|---|
class |
RetryPolicyAdapter
Adapts a legacy
RetryPolicy to the new RetryPolicy . |
Modifier and Type | Interface and Description |
---|---|
interface |
RetryPolicy
Aggregate interface combining a
RetryCondition and BackoffStrategy into a single policy. |
Modifier and Type | Class and Description |
---|---|
class |
AndRetryCondition
Composite
RetryCondition that evaluates to true when all contained retry conditions evaluate to true. |
class |
MaxNumberOfRetriesCondition
Simple retry condition that allows retries up to a certain max number of retries.
|
class |
OrRetryCondition
Composite retry condition that evaluates to true if any containing condition evaluates to true.
|
class |
RetryOnExceptionsCondition
Retry condition implementation that retries if the exception or the cause of the exception matches the classes defined.
|
class |
RetryOnStatusCodeCondition
Retry condition implementation that retries if the HTTP status code matches one of the provided status codes.
|
class |
SimpleRetryPolicy
|
Constructor and Description |
---|
AndRetryCondition(RetryCondition... conditions) |
OrRetryCondition(RetryCondition... conditions) |
SimpleRetryPolicy(RetryCondition retryCondition,
BackoffStrategy backoffStrategy) |
Copyright © 2024. All rights reserved.