Enum Class DataType
- All Implemented Interfaces:
Serializable, Comparable<DataType>, Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSimilar toMEASUREMENT, but instead of instantaneous values this provides a histogram of past values.Numeric data that normally changes over time and it interesting to be exposed as a metric.Similar toHISTOGRAMbut the measured values are time durations.A value of the running system that changes rarely or never. -
Method Summary
-
Enum Constant Details
-
TRAIT
A value of the running system that changes rarely or never. This is exposed as a JMX manageable attribute, but never as a metric. -
MEASUREMENT
Numeric data that normally changes over time and it interesting to be exposed as a metric. If this is applied to a non-numeric property it will not be exported as a metric but will still be exported as a JMX manageable attribute. -
HISTOGRAM
Similar toMEASUREMENT, but instead of instantaneous values this provides a histogram of past values. -
TIMER
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
-