public static enum InfluxDB.Consistency extends Enum<InfluxDB.Consistency>
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static InfluxDB.Consistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InfluxDB.Consistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InfluxDB.Consistency ALL
public static final InfluxDB.Consistency ANY
public static final InfluxDB.Consistency ONE
public static final InfluxDB.Consistency QUORUM
public static InfluxDB.Consistency[] values()
for (InfluxDB.Consistency c : InfluxDB.Consistency.values()) System.out.println(c);
public static InfluxDB.Consistency 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 toString()
toString
in class Enum<InfluxDB.Consistency>
Copyright © 2018 Brett Wooldridge. All rights reserved.