| Package | Description |
|---|---|
| software.amazon.awssdk.core.internal.retry | |
| software.amazon.awssdk.core.retry.conditions |
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultTokenBucketExceptionCostFunction.Builder |
| Modifier and Type | Method and Description |
|---|---|
TokenBucketExceptionCostFunction.Builder |
DefaultTokenBucketExceptionCostFunction.Builder.defaultExceptionCost(int cost) |
TokenBucketExceptionCostFunction.Builder |
DefaultTokenBucketExceptionCostFunction.Builder.throttlingExceptionCost(int cost) |
| Modifier and Type | Method and Description |
|---|---|
static TokenBucketExceptionCostFunction.Builder |
TokenBucketExceptionCostFunction.builder()
Create an exception cost function using exception type matchers built into the SDK.
|
TokenBucketExceptionCostFunction.Builder |
TokenBucketExceptionCostFunction.Builder.defaultExceptionCost(int cost)
Specify the number of tokens that should be removed from the token bucket when no other exception type in this
function is matched.
|
TokenBucketExceptionCostFunction.Builder |
TokenBucketExceptionCostFunction.Builder.throttlingExceptionCost(int cost)
Specify the number of tokens that should be removed from the token bucket when throttling exceptions (e.g.
|
Copyright © 2020. All rights reserved.