DynamoDbMapperConfig.BatchLoadRetryStrategy
public static class DynamoDbMapperConfig.DefaultBatchLoadRetryStrategy extends Object implements DynamoDbMapperConfig.BatchLoadRetryStrategy
Modifier and Type | Field | Description |
---|---|---|
static DynamoDbMapperConfig.DefaultBatchLoadRetryStrategy |
INSTANCE |
Constructor | Description |
---|---|
DefaultBatchLoadRetryStrategy() |
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.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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.