Package org.kairosdb.metrics4j.reporting
Enum SummaryContext.TYPE
- java.lang.Object
-
- java.lang.Enum<SummaryContext.TYPE>
-
- org.kairosdb.metrics4j.reporting.SummaryContext.TYPE
-
- All Implemented Interfaces:
Serializable,Comparable<SummaryContext.TYPE>
- Enclosing class:
- SummaryContext
public static enum SummaryContext.TYPE extends Enum<SummaryContext.TYPE>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SummaryContext.TYPEvalueOf(String name)Returns the enum constant of this type with the specified name.static SummaryContext.TYPE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUM
public static final SummaryContext.TYPE SUM
-
COUNT
public static final SummaryContext.TYPE COUNT
-
QUANTILE
public static final SummaryContext.TYPE QUANTILE
-
-
Method Detail
-
values
public static SummaryContext.TYPE[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SummaryContext.TYPE c : SummaryContext.TYPE.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SummaryContext.TYPE valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-