public static enum MetricsContext.DetailLevel extends Enum<MetricsContext.DetailLevel>
Enum Constant and Description |
---|
ADVANCED
It is expected that the returned Summary performs expensive
aggregations, like percentiles.
|
BASIC
The returned Summary is expected to track only simple aggregated
values, like min/max/avg
|
Modifier and Type | Method and Description |
---|---|
static MetricsContext.DetailLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetricsContext.DetailLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetricsContext.DetailLevel BASIC
public static final MetricsContext.DetailLevel ADVANCED
public static MetricsContext.DetailLevel[] values()
for (MetricsContext.DetailLevel c : MetricsContext.DetailLevel.values()) System.out.println(c);
public static MetricsContext.DetailLevel 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 nullCopyright © 2008–2020 The Apache Software Foundation. All rights reserved.