| Package | Description |
|---|---|
| software.amazon.awssdk.core.retry | |
| software.amazon.awssdk.core.retry.backoff | |
| software.amazon.awssdk.core.retry.conditions |
| Modifier and Type | Method and Description |
|---|---|
RetryPolicyContext |
RetryPolicyContext.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
Duration |
EqualJitterBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
Duration |
FixedDelayBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
Duration |
FullJitterBackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context) |
Duration |
BackoffStrategy.computeDelayBeforeNextRetry(RetryPolicyContext context)
Compute the delay before the next retry request.
|
| Modifier and Type | Method and Description |
|---|---|
void |
TokenBucketRetryCondition.requestSucceeded(RetryPolicyContext context) |
void |
OrRetryCondition.requestSucceeded(RetryPolicyContext context) |
default void |
RetryCondition.requestSucceeded(RetryPolicyContext context)
Called by the SDK to notify this condition that the provided request succeeded.
|
void |
AndRetryCondition.requestSucceeded(RetryPolicyContext context) |
void |
TokenBucketRetryCondition.requestWillNotBeRetried(RetryPolicyContext context) |
void |
OrRetryCondition.requestWillNotBeRetried(RetryPolicyContext context) |
default void |
RetryCondition.requestWillNotBeRetried(RetryPolicyContext context)
Called by the SDK to notify this condition that the provided request will not be retried, because some retry condition
determined that it shouldn't be retried.
|
void |
AndRetryCondition.requestWillNotBeRetried(RetryPolicyContext context) |
boolean |
RetryOnExceptionsCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryOnClockSkewCondition.shouldRetry(RetryPolicyContext context) |
boolean |
MaxNumberOfRetriesCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryOnStatusCodeCondition.shouldRetry(RetryPolicyContext context) |
boolean |
TokenBucketRetryCondition.shouldRetry(RetryPolicyContext context) |
boolean |
OrRetryCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryCondition.shouldRetry(RetryPolicyContext context)
Determine whether a request should or should not be retried.
|
boolean |
AndRetryCondition.shouldRetry(RetryPolicyContext context) |
boolean |
RetryOnThrottlingCondition.shouldRetry(RetryPolicyContext context) |
Copyright © 2022. All rights reserved.