Uses of Interface
software.amazon.awssdk.retries.api.BackoffStrategy
-
Packages that use BackoffStrategy Package Description software.amazon.awssdk.retries.api software.amazon.awssdk.retries.api.internal.backoff -
-
Uses of BackoffStrategy in software.amazon.awssdk.retries.api
Methods in software.amazon.awssdk.retries.api that return BackoffStrategy Modifier and Type Method Description static BackoffStrategyBackoffStrategy. exponentialDelay(Duration baseDelay, Duration maxDelay)Wait for a random period of time between 0ms and an exponentially increasing amount of time between each subsequent attempt of the same call.static BackoffStrategyBackoffStrategy. exponentialDelayHalfJitter(Duration baseDelay, Duration maxDelay)Wait for a random period of time with an upper bound of exponentially increasing amount of time between each subsequent attempt of the same call and a lower bound of half the amount of the computed exponential delay.static BackoffStrategyBackoffStrategy. exponentialDelayWithoutJitter(Duration baseDelay, Duration maxDelay)Wait for an exponentially increasing amount of time between each subsequent attempt of the same call.static BackoffStrategyBackoffStrategy. fixedDelay(Duration delay)Wait for a random period of time between 0ms and the provided delay.static BackoffStrategyBackoffStrategy. fixedDelayWithoutJitter(Duration delay)Wait for a period of time equal to the provided delay.static BackoffStrategyBackoffStrategy. retryImmediately()Do not back off: retry immediately.Methods in software.amazon.awssdk.retries.api with parameters of type BackoffStrategy Modifier and Type Method Description BRetryStrategy.Builder. backoffStrategy(BackoffStrategy backoffStrategy)Configure the backoff strategy used by the retry strategy.BRetryStrategy.Builder. throttlingBackoffStrategy(BackoffStrategy throttlingBackoffStrategy)Configure the backoff strategy used for throttling exceptions by this strategy. -
Uses of BackoffStrategy in software.amazon.awssdk.retries.api.internal.backoff
Classes in software.amazon.awssdk.retries.api.internal.backoff that implement BackoffStrategy Modifier and Type Class Description classExponentialDelayWithHalfJitterStrategy that waits for a random period of time between a lower bound x and an exponentially increasing amount of time between each subsequent attempt of the same call.classExponentialDelayWithJitterStrategy that waits for a random period of time between 0ms and an exponentially increasing amount of time between each subsequent attempt of the same call.classExponentialDelayWithoutJitterStrategy that waits for an exponentially increasing amount of time between each subsequent attempt of the same call.classFixedDelayWithJitterStrategy that waits for a random period of time between 0ms and the provided delay.classFixedDelayWithoutJitterStrategy that waits for a period of time equal to the provided delay.classImmediatelyStrategy that do not back off: retry immediately.
-