public enum MetricsSnapshotType extends Enum<MetricsSnapshotType>
Modifier and Type | Method and Description |
---|---|
static MetricsSnapshotType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsSnapshotType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsSnapshotType START
public static final MetricsSnapshotType STOP
public static final MetricsSnapshotType MIN
public static final MetricsSnapshotType MAX
public static final MetricsSnapshotType SUM
public static final MetricsSnapshotType COUNT
public static MetricsSnapshotType[] values()
for (MetricsSnapshotType c : MetricsSnapshotType.values()) System.out.println(c);
public static MetricsSnapshotType 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 null