Package | Description |
---|---|
software.amazon.awssdk.core.retry | |
software.amazon.awssdk.core.retry.conditions |
Modifier and Type | Method and Description |
---|---|
RetryCondition |
RetryPolicy.aggregateRetryCondition()
Retrieve the retry condition that aggregates the
RetryPolicy.Builder.retryCondition(RetryCondition) ,
RetryPolicy.Builder.numRetries(Integer) and RetryPolicy.Builder.retryCapacityCondition(RetryCondition) configured on the builder. |
RetryCondition |
RetryPolicy.Builder.retryCapacityCondition() |
RetryCondition |
RetryPolicy.retryCondition()
Retrieve the
RetryPolicy.Builder.retryCondition(RetryCondition) configured on the builder. |
RetryCondition |
RetryPolicy.Builder.retryCondition() |
Modifier and Type | Method and Description |
---|---|
RetryPolicy.Builder |
RetryPolicy.Builder.retryCapacityCondition(RetryCondition retryCapacityCondition)
Configure the
RetryCondition that should be used to throttle the number of retries attempted by the SDK client
as a whole. |
RetryPolicy.Builder |
RetryPolicy.Builder.retryCondition(RetryCondition retryCondition)
Configure the condition under which the request should be retried.
|
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 |
RetryOnClockSkewCondition
A
RetryCondition that will return true if the provided exception seems to be due to a clock skew between the
client and service. |
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 |
RetryOnThrottlingCondition
A
RetryCondition that will return true if the provided exception seems to be due to a throttling error from the
service to the client. |
class |
TokenBucketRetryCondition
A
RetryCondition that limits the number of retries made by the SDK using a token bucket algorithm. |
Modifier and Type | Field and Description |
---|---|
static RetryCondition |
SdkRetryCondition.DEFAULT |
static RetryCondition |
SdkRetryCondition.NONE |
Modifier and Type | Method and Description |
---|---|
static RetryCondition |
RetryCondition.defaultRetryCondition() |
static RetryCondition |
RetryCondition.none()
A retry condition that will NEVER allow retries.
|
Modifier and Type | Method and Description |
---|---|
static OrRetryCondition |
OrRetryCondition.create(RetryCondition... conditions) |
static AndRetryCondition |
AndRetryCondition.create(RetryCondition... conditions) |
Copyright © 2022. All rights reserved.