Class DefaultAdaptiveRetryStrategy
java.lang.Object
software.amazon.awssdk.retries.internal.BaseRetryStrategy
software.amazon.awssdk.retries.internal.DefaultAdaptiveRetryStrategy
- All Implemented Interfaces:
AdaptiveRetryStrategy
,RetryStrategy
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, maxAttempts, recordSuccess, refreshRetryToken
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.retries.api.RetryStrategy
acquireInitialToken, maxAttempts, recordSuccess, refreshRetryToken
-
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
-