public static class DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy extends Object implements DynamoDBMapperConfig.BatchLoadRetryStrategy
| Modifier and Type | Field and Description |
|---|---|
static DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy |
INSTANCE |
| Constructor and Description |
|---|
DefaultBatchLoadRetryStrategy() |
| Modifier and Type | Method and Description |
|---|---|
DynamoDBMapperConfig |
config() |
long |
getDelayBeforeNextRetry(BatchLoadContext batchLoadContext)
Returns delay(in milliseconds) before retrying Unprocessed keys
|
boolean |
shouldRetry(BatchLoadContext batchLoadContext)
Checks if the batch load request should be retried.
|
public static final DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy INSTANCE
public long getDelayBeforeNextRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategygetDelayBeforeNextRetry in interface DynamoDBMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextpublic boolean shouldRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategyshouldRetry in interface DynamoDBMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextpublic final DynamoDBMapperConfig config()