public static enum DynamoDBMapperConfig.ConsistentReads extends 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 |
EVENTUAL |
Modifier and Type | Method and Description |
---|---|
DynamoDBMapperConfig |
config() |
static DynamoDBMapperConfig.ConsistentReads |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final DynamoDBMapperConfig config()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.