Uses of Class
software.amazon.awssdk.core.retry.RetryMode
-
-
Uses of RetryMode in software.amazon.awssdk.core.client.config
Fields in software.amazon.awssdk.core.client.config with type parameters of type RetryMode Modifier and Type Field Description static SdkClientOption<RetryMode>
SdkClientOption. DEFAULT_RETRY_MODE
Option to specify the default retry mode.Methods in software.amazon.awssdk.core.client.config with parameters of type RetryMode Modifier and Type Method Description default ClientOverrideConfiguration.Builder
ClientOverrideConfiguration.Builder. retryPolicy(RetryMode retryMode)
Configure the retry mode used to determine the retry policy that is used when handling failure cases. -
Uses of RetryMode in software.amazon.awssdk.core.internal.retry
Methods in software.amazon.awssdk.core.internal.retry with parameters of type RetryMode Modifier and Type Method Description static Duration
SdkDefaultRetrySetting. baseDelay(RetryMode retryMode)
static Integer
SdkDefaultRetrySetting. maxAttempts(RetryMode retryMode)
static Duration
SdkDefaultRetrySetting. throttledBaseDelay(RetryMode retryMode)
static TokenBucketExceptionCostFunction
SdkDefaultRetrySetting. tokenCostFunction(RetryMode retryMode)
-
Uses of RetryMode in software.amazon.awssdk.core.retry
Methods in software.amazon.awssdk.core.retry that return RetryMode Modifier and Type Method Description static RetryMode
RetryMode. defaultRetryMode()
Retrieve the default retry mode by consulting the locations described inRetryMode
, or LEGACY if no value is configured.RetryMode
RetryMode.Resolver. resolve()
Resolve which retry mode should be used, based on the configured values.RetryMode
RetryPolicy. retryMode()
Retrieve theRetryMode
that was used to determine the defaults for this retry policy.static RetryMode
RetryMode. valueOf(String name)
Returns the enum constant of this type with the specified name.static RetryMode[]
RetryMode. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in software.amazon.awssdk.core.retry with parameters of type RetryMode Modifier and Type Method Description static RetryPolicy.Builder
RetryPolicy. builder(RetryMode retryMode)
Create aRetryPolicy.Builder
populated with the defaults from the providedRetryMode
.RetryMode.Resolver
RetryMode.Resolver. defaultRetryMode(RetryMode defaultRetryMode)
Configure theRetryMode
that should be used if the mode is not specified anywhere else.static RetryPolicy
RetryPolicy. forRetryMode(RetryMode retryMode)
Create aRetryPolicy
using the providedRetryMode
defaults. -
Uses of RetryMode in software.amazon.awssdk.core.retry.backoff
Methods in software.amazon.awssdk.core.retry.backoff with parameters of type RetryMode Modifier and Type Method Description static BackoffStrategy
BackoffStrategy. defaultStrategy(RetryMode retryMode)
static BackoffStrategy
BackoffStrategy. defaultThrottlingStrategy(RetryMode retryMode)
-
Uses of RetryMode in software.amazon.awssdk.core.retry.conditions
Methods in software.amazon.awssdk.core.retry.conditions with parameters of type RetryMode Modifier and Type Method Description static MaxNumberOfRetriesCondition
MaxNumberOfRetriesCondition. forRetryMode(RetryMode retryMode)
static TokenBucketRetryCondition
TokenBucketRetryCondition. forRetryMode(RetryMode retryMode)
Create a condition using the configuredRetryMode
.
-