public final class SdkDefaultRetrySetting extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SdkDefaultRetrySetting.Legacy |
static class |
SdkDefaultRetrySetting.Standard |
Modifier and Type | Field and Description |
---|---|
static Duration |
MAX_BACKOFF |
static Set<Class<? extends Exception>> |
RETRYABLE_EXCEPTIONS |
static Set<Integer> |
RETRYABLE_STATUS_CODES |
static int |
TOKEN_BUCKET_SIZE |
Modifier and Type | Method and Description |
---|---|
static Duration |
baseDelay(RetryMode retryMode) |
static Integer |
defaultMaxAttempts() |
static Integer |
maxAttempts(RetryMode retryMode) |
static Duration |
throttledBaseDelay(RetryMode retryMode) |
static TokenBucketExceptionCostFunction |
tokenCostFunction(RetryMode retryMode) |
public static final int TOKEN_BUCKET_SIZE
public static final Duration MAX_BACKOFF
public static TokenBucketExceptionCostFunction tokenCostFunction(RetryMode retryMode)
public static Integer defaultMaxAttempts()
Copyright © 2023. All rights reserved.