public static enum PrometheusMBeanTag.MetricType extends Enum<PrometheusMBeanTag.MetricType>
| Modifier and Type | Method and Description |
|---|---|
static PrometheusMBeanTag.MetricType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrometheusMBeanTag.MetricType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrometheusMBeanTag.MetricType counter
public static final PrometheusMBeanTag.MetricType gauge
public static final PrometheusMBeanTag.MetricType histogram
public static final PrometheusMBeanTag.MetricType summary
public static PrometheusMBeanTag.MetricType[] values()
for (PrometheusMBeanTag.MetricType c : PrometheusMBeanTag.MetricType.values()) System.out.println(c);
public static PrometheusMBeanTag.MetricType 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 © 2008–2020 Emeric Vernat. All rights reserved.