public static enum MetricRegistry.Type extends 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 |
---|---|
String |
getName()
Returns the name of the MetricRegistry scope.
|
static MetricRegistry.Type |
valueOf(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(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 String getName()
Copyright © 2020. All rights reserved.