Enum Constant and Description |
---|
Count
Rate per second for calls.
|
Max
The maximum amount recorded.
|
SumOfSquares
The sum of the squares of the amounts recorded.
|
Total
The sum of the amounts recorded.
|
Unknown |
Value
Instantaneous value, such as those reported by gauges
|
Modifier and Type | Method and Description |
---|---|
static Statistic |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Statistic[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Statistic Total
public static final Statistic Count
public static final Statistic Max
public static final Statistic SumOfSquares
public static final Statistic Value
public static final Statistic Unknown
public static Statistic[] values()
for (Statistic c : Statistic.values()) System.out.println(c);
public static Statistic valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null