public enum StatisticTypeEnum extends Enum<StatisticTypeEnum>
| Enum Constant and Description |
|---|
TYPE_COUNTER
Counter.
|
TYPE_DURATION
Duration.
|
TYPE_DURATION_TOTAL |
TYPE_GAUGE
Gauge.
|
| Modifier and Type | Method and Description |
|---|---|
static StatisticTypeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatisticTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatisticTypeEnum TYPE_COUNTER
public static final StatisticTypeEnum TYPE_DURATION
public static final StatisticTypeEnum TYPE_GAUGE
public static final StatisticTypeEnum TYPE_DURATION_TOTAL
public static StatisticTypeEnum[] values()
for (StatisticTypeEnum c : StatisticTypeEnum.values()) System.out.println(c);
public static StatisticTypeEnum 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 © 2024. All rights reserved.