Package org.kairosdb.metrics4j.reporting
Class MetricValue
- java.lang.Object
-
- org.kairosdb.metrics4j.reporting.MetricValue
-
- Direct Known Subclasses:
DoubleValue,LongValue,StringValue
public abstract class MetricValue extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_DOUBLEstatic StringTYPE_LONGstatic StringTYPE_STRING
-
Constructor Summary
Constructors Constructor Description MetricValue(String type)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description StringgetType()abstract StringgetValueAsString()
-
-
-
Field Detail
-
TYPE_LONG
public static final String TYPE_LONG
- See Also:
- Constant Field Values
-
TYPE_DOUBLE
public static final String TYPE_DOUBLE
- See Also:
- Constant Field Values
-
TYPE_STRING
public static final String TYPE_STRING
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
MetricValue
public MetricValue(String type)
-
-