public static enum Metric.Type extends Enum<Metric.Type>
| Modifier and Type | Method and Description |
|---|---|
static Metric.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Metric.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Metric.Type DEFAULT
public static final Metric.Type COUNTER
public static final Metric.Type GAUGE
public static final Metric.Type TAG
public static Metric.Type[] values()
for (Metric.Type c : Metric.Type.values()) System.out.println(c);
public static Metric.Type 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 nullCopyright © 2022 Apache Software Foundation. All rights reserved.