public enum QuorumReadPattern extends Enum<QuorumReadPattern>
QApiEnumDescriptor{name=QuorumReadPattern, data=[quorum, fifo], fields=null}
Modifier and Type | Method and Description |
---|---|
String |
getJsonValue() |
static QuorumReadPattern |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static QuorumReadPattern[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final QuorumReadPattern quorum
public static final QuorumReadPattern fifo
public static final QuorumReadPattern __UNKNOWN
public static QuorumReadPattern[] values()
for (QuorumReadPattern c : QuorumReadPattern.values()) System.out.println(c);
public static QuorumReadPattern 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 String getJsonValue()