Class GraphiteMetric
- java.lang.Object
-
- org.opennms.netmgt.telemetry.protocols.graphite.adapter.GraphiteMetric
-
public class GraphiteMetric extends Object
-
-
Constructor Summary
Constructors Constructor Description GraphiteMetric(String path, String value, long timestamp)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Double
doubleValue()
The value, as a double-precision number.boolean
equals(Object obj)
Float
floatValue()
The value, as a floating-point number.java.time.Instant
getInstant()
The timestamp as an Instant.String
getPath()
The graphite path, an arbitrary key.long
getTimestamp()
The timestamp as a UNIX epoch.String
getValue()
The raw value.int
hashCode()
Integer
intValue()
The value, as an Integer number.Long
longValue()
The value, as a Long number.String
toString()
-
-
-
Method Detail
-
getPath
public String getPath()
The graphite path, an arbitrary key.
-
getValue
public String getValue()
The raw value.
-
intValue
public Integer intValue()
The value, as an Integer number.
-
longValue
public Long longValue()
The value, as a Long number.
-
floatValue
public Float floatValue()
The value, as a floating-point number.
-
doubleValue
public Double doubleValue()
The value, as a double-precision number.
-
getTimestamp
public long getTimestamp()
The timestamp as a UNIX epoch.
-
getInstant
public java.time.Instant getInstant()
The timestamp as an Instant.
-
-