public static class DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy extends Object implements DynamoDBMapperConfig.BatchLoadRetryStrategy
Constructor and Description |
---|
DynamoDBMapperConfig.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 DynamoDBMapperConfig.DefaultBatchLoadRetryStrategy()
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
Copyright © 2016. All rights reserved.