public enum MetricKind extends Enum<MetricKind>
| Enum Constant and Description |
|---|
CUMULATIVE
A value accumulated over a time interval.
|
DELTA
The change in a value during a time interval.
|
GAUGE
An instantaneous measurement of a value.
|
METRIC_KIND_UNSPECIFIED
Do not use this default value.
|
| Modifier and Type | Method and Description |
|---|---|
int |
value() |
static MetricKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricKind METRIC_KIND_UNSPECIFIED
public static final MetricKind GAUGE
public static final MetricKind DELTA
public static final MetricKind CUMULATIVE
public static MetricKind[] values()
for (MetricKind c : MetricKind.values()) System.out.println(c);
public static MetricKind 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 nullpublic int value()
Copyright © 2017–2018 Red Hat. All rights reserved.