Class OutputRecord


  • @Public
    @Evolving
    public class OutputRecord
    extends java.lang.Object
    Represents a record of metric data to be sent to a metrics system.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Number getMetric​(java.lang.String name)
      Returns the metric object which can be a Float, Integer, Short or Byte.
      java.util.Set<java.lang.String> getMetricNames()
      Returns the set of metric names.
      AbstractMetricsContext.MetricMap getMetricsCopy()
      Returns a copy of this record's metrics.
      java.lang.Object getTag​(java.lang.String name)
      Returns a tag object which is can be a String, Integer, Short or Byte.
      java.util.Set<java.lang.String> getTagNames()
      Returns the set of tag names
      AbstractMetricsContext.TagMap getTagsCopy()
      Returns a copy of this record's tags.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getTagNames

        public java.util.Set<java.lang.String> getTagNames()
        Returns the set of tag names
      • getTag

        public java.lang.Object getTag​(java.lang.String name)
        Returns a tag object which is can be a String, Integer, Short or Byte.
        Returns:
        the tag value, or null if there is no such tag
      • getMetricNames

        public java.util.Set<java.lang.String> getMetricNames()
        Returns the set of metric names.
      • getMetric

        public java.lang.Number getMetric​(java.lang.String name)
        Returns the metric object which can be a Float, Integer, Short or Byte.