public enum ConsistencyLevel extends Enum<ConsistencyLevel>
Enum Constant and Description |
---|
CONSISTENCY_ALL
Involve all duplicates in the read operation.
|
CONSISTENCY_ONE
Involve master only in the read operation.
|
Modifier and Type | Method and Description |
---|---|
static ConsistencyLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConsistencyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConsistencyLevel CONSISTENCY_ONE
public static final ConsistencyLevel CONSISTENCY_ALL
public static ConsistencyLevel[] values()
for (ConsistencyLevel c : ConsistencyLevel.values()) System.out.println(c);
public static ConsistencyLevel 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 nullCopyright ? 2012–2018 Aerospike, Inc. All rights reserved.