public static class DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy extends Object implements DynamoDBMapperConfig.BatchLoadRetryStrategy
| Constructor and Description |
|---|
DefaultBatchLoadRetryStrategy() |
| Modifier and Type | Method and Description |
|---|---|
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 long getDelayBeforeNextRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategygetDelayBeforeNextRetry in interface DynamoDBMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextpublic boolean shouldRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategyshouldRetry in interface DynamoDBMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.