public static enum MetricData.Type extends Enum<MetricData.Type>
| Enum Constant and Description |
|---|
MONOTONIC_DOUBLE
An cumulative measurement of a double value.
|
MONOTONIC_LONG
An cumulative measurement of an long (int64) value.
|
NON_MONOTONIC_DOUBLE
An instantaneous measurement of a double value.
|
NON_MONOTONIC_LONG
An instantaneous measurement of a long (int64) value.
|
SUMMARY
A Summary of measurements of numeric values, containing the minimum value recorded, the
maximum value recorded, the sum of all measurements and the total number of measurements
recorded.
|
| Modifier and Type | Method and Description |
|---|---|
static MetricData.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricData.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricData.Type NON_MONOTONIC_LONG
MetricData.LongPoint points.public static final MetricData.Type NON_MONOTONIC_DOUBLE
MetricData.DoublePoint points.public static final MetricData.Type MONOTONIC_LONG
MetricData.LongPoint points.public static final MetricData.Type MONOTONIC_DOUBLE
MetricData.DoublePoint points.public static final MetricData.Type SUMMARY
public static MetricData.Type[] values()
for (MetricData.Type c : MetricData.Type.values()) System.out.println(c);
public static MetricData.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 null