
org.kairosdb.metrics4j.reporting.DoubleValue Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of metrics4j Show documentation
Show all versions of metrics4j Show documentation
Java library for reporting metrics to any timeseries database.
The newest version!
package org.kairosdb.metrics4j.reporting;
import lombok.EqualsAndHashCode;
import lombok.ToString;
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class DoubleValue extends MetricValue
{
private final double m_value;
public DoubleValue(double value)
{
super(TYPE_DOUBLE);
m_value = value;
}
public double getValue()
{
return m_value;
}
@Override
public String getValueAsString()
{
return String.valueOf(m_value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy