public enum AggLevel extends Enum<AggLevel>
Specifies the available timeframes for Metric aggregation.
Enum Constant and Description |
---|
AGG_LEVEL_1_MIN |
AGG_LEVEL_10_MIN |
AGG_LEVEL_60_MIN |
AGG_LEVEL_NONE |
Modifier and Type | Method and Description |
---|---|
byte |
getValue() |
static AggLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AggLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AggLevel AGG_LEVEL_NONE
public static final AggLevel AGG_LEVEL_1_MIN
public static final AggLevel AGG_LEVEL_10_MIN
public static final AggLevel AGG_LEVEL_60_MIN
public static AggLevel[] values()
for (AggLevel c : AggLevel.values()) System.out.println(c);
public static AggLevel 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 byte getValue()
Copyright © 2020 The Apache Software Foundation. All rights reserved.