public enum HConsistencyLevel extends Enum<HConsistencyLevel>
| Enum Constant and Description |
|---|
ALL |
ANY |
EACH_QUORUM |
LOCAL_ONE |
LOCAL_QUORUM |
ONE |
QUORUM |
THREE |
TWO |
| Modifier and Type | Method and Description |
|---|---|
static HConsistencyLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HConsistencyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HConsistencyLevel ONE
public static final HConsistencyLevel TWO
public static final HConsistencyLevel THREE
public static final HConsistencyLevel QUORUM
public static final HConsistencyLevel ALL
public static final HConsistencyLevel ANY
public static final HConsistencyLevel EACH_QUORUM
public static final HConsistencyLevel LOCAL_QUORUM
public static final HConsistencyLevel LOCAL_ONE
public static HConsistencyLevel[] values()
for (HConsistencyLevel c : HConsistencyLevel.values()) System.out.println(c);
public static HConsistencyLevel 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 © 2014. All Rights Reserved.