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.BatchLoadRetryStrategy
getDelayBeforeNextRetry
in interface DynamoDBMapperConfig.BatchLoadRetryStrategy
batchLoadContext
- see BatchLoadContext
public boolean shouldRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategy
shouldRetry
in interface DynamoDBMapperConfig.BatchLoadRetryStrategy
batchLoadContext
- see BatchLoadContext
public final DynamoDBMapperConfig config()