public static enum MetricData.Descriptor.Type extends Enum<MetricData.Descriptor.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.Descriptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricData.Descriptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricData.Descriptor.Type NON_MONOTONIC_LONG
MetricData.LongPoint
points.public static final MetricData.Descriptor.Type NON_MONOTONIC_DOUBLE
MetricData.DoublePoint
points.public static final MetricData.Descriptor.Type MONOTONIC_LONG
MetricData.LongPoint
points.public static final MetricData.Descriptor.Type MONOTONIC_DOUBLE
MetricData.DoublePoint
points.public static final MetricData.Descriptor.Type SUMMARY
public static MetricData.Descriptor.Type[] values()
for (MetricData.Descriptor.Type c : MetricData.Descriptor.Type.values()) System.out.println(c);
public static MetricData.Descriptor.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