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