public static enum InfluxDB.ConsistencyLevel extends java.lang.Enum<InfluxDB.ConsistencyLevel>
| Enum Constant and Description |
|---|
ALL
Write succeeds only if write reached all cluster members.
|
ANY
Write succeeds if write reached any cluster members.
|
ONE
Write succeeds if write reached at least one cluster members.
|
QUORUM
Write succeeds only if write reached a quorum of cluster members.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
value()
Get the String value of the ConsistencyLevel.
|
static InfluxDB.ConsistencyLevel |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDB.ConsistencyLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxDB.ConsistencyLevel ALL
public static final InfluxDB.ConsistencyLevel ANY
public static final InfluxDB.ConsistencyLevel ONE
public static final InfluxDB.ConsistencyLevel QUORUM
public static InfluxDB.ConsistencyLevel[] values()
for (InfluxDB.ConsistencyLevel c : InfluxDB.ConsistencyLevel.values()) System.out.println(c);
public static InfluxDB.ConsistencyLevel valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String value()
Data In Motion GmbH all rights reserved