Class DefaultAdaptiveRetryStrategy
java.lang.Object
software.amazon.awssdk.retries.internal.BaseRetryStrategy
software.amazon.awssdk.retries.internal.DefaultAdaptiveRetryStrategy
- All Implemented Interfaces:
AdaptiveRetryStrategy
,RetryStrategy
,DefaultAwareRetryStrategy
public final class DefaultAdaptiveRetryStrategy
extends BaseRetryStrategy
implements AdaptiveRetryStrategy
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Create a newRetryStrategy.Builder
with the current configuration.Methods inherited from class software.amazon.awssdk.retries.internal.BaseRetryStrategy
acquireInitialToken, addDefaults, hasRetryPredicates, maxAttempts, recordSuccess, refreshRetryToken, retryPredicates, shouldAddDefaults, toString, useClientDefaults
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.retries.api.RetryStrategy
acquireInitialToken, maxAttempts, recordSuccess, refreshRetryToken, useClientDefaults
-
Method Details
-
toBuilder
Description copied from interface:RetryStrategy
Create a newRetryStrategy.Builder
with the current configuration.This is useful for modifying the strategy's behavior, like conditions or max retries.
- Specified by:
toBuilder
in interfaceAdaptiveRetryStrategy
- Specified by:
toBuilder
in interfaceRetryStrategy
-
builder
-