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.
  • Constructor Details

  • Method Details

    • stats

      Specified by:
      stats in interface CompoundStat
    • 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
      config - The configuration to use for this metric
      value - The value to record
      timeMs - The POSIX time in milliseconds this value occurred
    • toString

      public String toString()
      toString in class Object