public static enum MetricDescriptor.Type extends Enum<MetricDescriptor.Type>
TimeStampedMetric
types.Enum Constant and Description |
---|
COUNTER |
ENUMERATION |
GAUGE |
HISTOGRAM |
METER |
RATIO_GAUGE |
ROLLING_COUNTER |
TIMER |
Modifier and Type | Method and Description |
---|---|
static MetricDescriptor.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricDescriptor.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricDescriptor.Type COUNTER
public static final MetricDescriptor.Type ENUMERATION
public static final MetricDescriptor.Type GAUGE
public static final MetricDescriptor.Type HISTOGRAM
public static final MetricDescriptor.Type METER
public static final MetricDescriptor.Type RATIO_GAUGE
public static final MetricDescriptor.Type ROLLING_COUNTER
public static final MetricDescriptor.Type TIMER
public static MetricDescriptor.Type[] values()
for (MetricDescriptor.Type c : MetricDescriptor.Type.values()) System.out.println(c);
public static MetricDescriptor.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 nullCopyright © 2015. All Rights Reserved.