public static enum Meter.Type extends java.lang.Enum<Meter.Type>
Counter
but does not have the same
increment-driven API.Enum Constant and Description |
---|
COUNTER |
DISTRIBUTION_SUMMARY |
GAUGE |
LONG_TASK_TIMER |
OTHER |
TIMER |
Modifier and Type | Method and Description |
---|---|
static Meter.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Meter.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Meter.Type COUNTER
public static final Meter.Type GAUGE
public static final Meter.Type LONG_TASK_TIMER
public static final Meter.Type TIMER
public static final Meter.Type DISTRIBUTION_SUMMARY
public static final Meter.Type OTHER
public static Meter.Type[] values()
for (Meter.Type c : Meter.Type.values()) System.out.println(c);
public static Meter.Type 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