public enum MetricsType extends Enum<MetricsType>
| Enum Constant and Description |
|---|
COUNTER |
GAUGE |
HISTOGRAM |
METER |
TIMER |
| Modifier and Type | Method and Description |
|---|---|
static MetricsType |
getByName(String name) |
String |
toString() |
static MetricsType |
valueOf(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 GAUGE
public static final MetricsType COUNTER
public static final MetricsType HISTOGRAM
public static final MetricsType METER
public static final MetricsType TIMER
public static MetricsType[] values()
for (MetricsType c : MetricsType.values()) System.out.println(c);
public static MetricsType 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 nullpublic String toString()
toString in class Enum<MetricsType>public static MetricsType getByName(String name)
Apache Camel