public static enum DynamoDBMapperConfig.ConsistentReads extends java.lang.Enum<DynamoDBMapperConfig.ConsistentReads>
CONSISTENT uses consistent reads, EVENTUAL does not. Consistent reads have implications for performance and billing; see the service documentation for details.
By default, the mapper uses eventual consistency.
| Enum Constant and Description |
|---|
CONSISTENT
Immediate consistency.
|
EVENTUAL
Eventual consistency.
|
| Modifier and Type | Method and Description |
|---|---|
static DynamoDBMapperConfig.ConsistentReads |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DynamoDBMapperConfig.ConsistentReads[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DynamoDBMapperConfig.ConsistentReads CONSISTENT
public static final DynamoDBMapperConfig.ConsistentReads EVENTUAL
public static DynamoDBMapperConfig.ConsistentReads[] values()
for (DynamoDBMapperConfig.ConsistentReads c : DynamoDBMapperConfig.ConsistentReads.values()) System.out.println(c);
public static DynamoDBMapperConfig.ConsistentReads valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.