DynamoDbMapperConfig.BatchLoadRetryStrategypublic static class DynamoDbMapperConfig.NoRetryBatchLoadRetryStrategy extends Object implements DynamoDbMapperConfig.BatchLoadRetryStrategy
| Modifier and Type | Field | Description |
|---|---|---|
static DynamoDbMapperConfig.NoRetryBatchLoadRetryStrategy |
INSTANCE |
| Constructor | Description |
|---|---|
NoRetryBatchLoadRetryStrategy() |
| Modifier and Type | Method | 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.NoRetryBatchLoadRetryStrategy INSTANCE
public boolean shouldRetry(BatchLoadContext batchLoadContext)
DynamoDbMapperConfig.BatchLoadRetryStrategyshouldRetry in interface DynamoDbMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextpublic long getDelayBeforeNextRetry(BatchLoadContext batchLoadContext)
DynamoDbMapperConfig.BatchLoadRetryStrategygetDelayBeforeNextRetry in interface DynamoDbMapperConfig.BatchLoadRetryStrategybatchLoadContext - see BatchLoadContextpublic final DynamoDbMapperConfig config()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.