Enum Constant and Description |
---|
ACTIVE_TASKS
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.
|
TOTAL_TIME
The sum of the times recorded.
|
UNKNOWN
Undetermined.
|
VALUE
Instantaneous value, such as those reported by gauges.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTagValueRepresentation() |
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 TOTAL_TIME
public static final Statistic COUNT
public static final Statistic MAX
public static final Statistic VALUE
public static final Statistic UNKNOWN
public static final Statistic ACTIVE_TASKS
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 nullpublic java.lang.String getTagValueRepresentation()