Class Meter

  • All Implemented Interfaces:
    CompoundStat, Stat

    public class Meter
    extends Object
    implements CompoundStat
    A compound stat that includes a rate metric and a cumulative total metric.
    • Method Detail

      • record

        public void record​(MetricConfig config,
                           double value,
                           long timeMs)
        Description copied from interface: Stat
        Record the given value
        Specified by:
        record in interface Stat
        Parameters:
        config - The configuration to use for this metric
        value - The value to record
        timeMs - The POSIX time in milliseconds this value occurred