| Enum Constant and Description |
|---|
FUNCTION_COUNTER |
GAUGE |
TIME_GAUGE |
| Modifier and Type | Method and Description |
|---|---|
static MeterType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MeterType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MeterType GAUGE
public static final MeterType FUNCTION_COUNTER
public static final MeterType TIME_GAUGE
public static MeterType[] values()
for (MeterType c : MeterType.values()) System.out.println(c);
public static MeterType 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 null