public static enum StatMetric.Metric extends java.lang.Enum<StatMetric.Metric>
Enum Constant and Description |
---|
AverageDuration |
Count |
LastDuration |
LastUpdate |
MaxDuration |
MinDuration |
Throughput |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getDataClass() |
static StatMetric.Metric |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StatMetric.Metric[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatMetric.Metric Throughput
public static final StatMetric.Metric MinDuration
public static final StatMetric.Metric MaxDuration
public static final StatMetric.Metric AverageDuration
public static final StatMetric.Metric LastDuration
public static final StatMetric.Metric LastUpdate
public static final StatMetric.Metric Count
public static StatMetric.Metric[] values()
for (StatMetric.Metric c : StatMetric.Metric.values()) System.out.println(c);
public static StatMetric.Metric 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 nullpublic java.lang.Class<?> getDataClass()