Enum Constant and Description |
---|
ActiveTasks
Number of currently active tasks for a long task timer.
|
Count
Rate per second for calls.
|
Duration
Duration of a running task in a long task timer.
|
Max
The maximum amount recorded.
|
Total
The sum of the amounts recorded.
|
TotalTime
The sum of the times 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 TotalTime
public static final Statistic Count
public static final Statistic Max
public static final Statistic Value
public static final Statistic Unknown
public static final Statistic ActiveTasks
public static final Statistic Duration
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