public static enum MetricsStreamNames.MetricsRecordType extends Enum<MetricsStreamNames.MetricsRecordType>
Enum Constant and Description |
---|
COUNTER |
COUNTER_MAP |
EVENT |
GAUGE |
TIMER |
Modifier and Type | Method and Description |
---|---|
int |
getIndex() |
static MetricsStreamNames.MetricsRecordType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsStreamNames.MetricsRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsStreamNames.MetricsRecordType COUNTER
public static final MetricsStreamNames.MetricsRecordType TIMER
public static final MetricsStreamNames.MetricsRecordType GAUGE
public static final MetricsStreamNames.MetricsRecordType EVENT
public static final MetricsStreamNames.MetricsRecordType COUNTER_MAP
public static MetricsStreamNames.MetricsRecordType[] values()
for (MetricsStreamNames.MetricsRecordType c : MetricsStreamNames.MetricsRecordType.values()) System.out.println(c);
public static MetricsStreamNames.MetricsRecordType 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 nullpublic int getIndex()
Copyright © 2010–2016 AdroitLogic. All rights reserved.