Class GraphiteMetric


  • public class GraphiteMetric
    extends Object
    • Constructor Detail

      • GraphiteMetric

        public GraphiteMetric​(String path,
                              String value,
                              long timestamp)
    • 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.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object