public static class DynamoDBMapperConfig.NoRetryBatchLoadRetryStrategy extends Object implements DynamoDBMapperConfig.BatchLoadRetryStrategy
Modifier and Type | Field and Description |
---|---|
static DynamoDBMapperConfig.NoRetryBatchLoadRetryStrategy |
INSTANCE |
Constructor and Description |
---|
NoRetryBatchLoadRetryStrategy() |
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.NoRetryBatchLoadRetryStrategy INSTANCE
public boolean shouldRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategy
shouldRetry
in interface DynamoDBMapperConfig.BatchLoadRetryStrategy
batchLoadContext
- see BatchLoadContext
public long getDelayBeforeNextRetry(BatchLoadContext batchLoadContext)
DynamoDBMapperConfig.BatchLoadRetryStrategy
getDelayBeforeNextRetry
in interface DynamoDBMapperConfig.BatchLoadRetryStrategy
batchLoadContext
- see BatchLoadContext
public final DynamoDBMapperConfig config()
Copyright © 2024. All rights reserved.