MetricRegistry.APPLICATION_SCOPE
,
MetricRegistry.BASE_SCOPE
or MetricRegistry.VENDOR_SCOPE
with RegistryScope
instead.@Deprecated public static enum MetricRegistry.Type extends java.lang.Enum<MetricRegistry.Type>
Enum Constant and Description |
---|
APPLICATION
Deprecated.
As of release 5.0, please use
MetricRegistry.APPLICATION_SCOPE with RegistryScope
instead. |
BASE
Deprecated.
As of release 5.0, please use
MetricRegistry.BASE_SCOPE with RegistryScope
instead. |
VENDOR
Deprecated.
As of release 5.0, please use
MetricRegistry.VENDOR_SCOPE with RegistryScope
instead. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Deprecated.
Returns the name of the MetricRegistry scope.
|
static MetricRegistry.Type |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static MetricRegistry.Type[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final MetricRegistry.Type APPLICATION
MetricRegistry.APPLICATION_SCOPE
with RegistryScope
instead.@Deprecated public static final MetricRegistry.Type BASE
MetricRegistry.BASE_SCOPE
with RegistryScope
instead.@Deprecated public static final MetricRegistry.Type VENDOR
MetricRegistry.VENDOR_SCOPE
with RegistryScope
instead.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()