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 |
DistributionSummary |
Gauge |
LongTaskTimer |
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 LongTaskTimer
public static final Meter.Type Timer
public static final Meter.Type DistributionSummary
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