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