public enum DefaultConsistencyLevel extends Enum<DefaultConsistencyLevel>
Enum Constant and Description |
---|
BOUNDED_STALENESS
Enum value BoundedStaleness.
|
CONSISTENT_PREFIX
Enum value ConsistentPrefix.
|
EVENTUAL
Enum value Eventual.
|
SESSION
Enum value Session.
|
STRONG
Enum value Strong.
|
Modifier and Type | Method and Description |
---|---|
static DefaultConsistencyLevel |
fromString(String value)
Parses a serialized value to a DefaultConsistencyLevel instance.
|
String |
toString() |
static DefaultConsistencyLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DefaultConsistencyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DefaultConsistencyLevel EVENTUAL
public static final DefaultConsistencyLevel SESSION
public static final DefaultConsistencyLevel BOUNDED_STALENESS
public static final DefaultConsistencyLevel STRONG
public static final DefaultConsistencyLevel CONSISTENT_PREFIX
public static DefaultConsistencyLevel[] values()
for (DefaultConsistencyLevel c : DefaultConsistencyLevel.values()) System.out.println(c);
public static DefaultConsistencyLevel 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 static DefaultConsistencyLevel fromString(String value)
value
- the serialized value to parse.public String toString()
toString
in class Enum<DefaultConsistencyLevel>
Copyright © 2019. All rights reserved.