public static enum MetricRegistry.Type extends java.lang.Enum<MetricRegistry.Type>
Enum Constant and Description |
---|
APPLICATION
The Application (default) scoped MetricRegistry.
|
BASE
The Base scoped MetricRegistry.
|
VENDOR
The Vendor scoped MetricRegistry.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the MetricRegistry scope.
|
static MetricRegistry.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MetricRegistry.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricRegistry.Type APPLICATION
public static final MetricRegistry.Type BASE
public static final MetricRegistry.Type VENDOR
public static MetricRegistry.Type[] values()
for (MetricRegistry.Type c : MetricRegistry.Type.values()) System.out.println(c);
public static MetricRegistry.Type 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 getName()