public enum ValueSemantics extends Enum<ValueSemantics>
Enum Constant and Description |
---|
CONSTANT
A value which never (or very seldom) changes over the lifetime of a
virtual machine.
|
FREE_RUNNING
Values which freely and arbitrarily change over time, either upwards or
downwards.
|
MONOTONICALLY_INCREASING
Values which only ever increase over time during the life of a metric.
|
Modifier and Type | Method and Description |
---|---|
static ValueSemantics |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ValueSemantics[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ValueSemantics CONSTANT
public static final ValueSemantics FREE_RUNNING
public static final ValueSemantics MONOTONICALLY_INCREASING
public static ValueSemantics[] values()
for (ValueSemantics c : ValueSemantics.values()) System.out.println(c);
public static ValueSemantics 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 © 2009-2019 Performance Co-Pilot. All Rights Reserved.