Interface TimedMetricMap


public interface TimedMetricMap
A map of timed metrics keyed by a string.
  • Method Summary

    Modifier and Type Method Description
    void add​(String key, long exeMicros)
    Add an execution for the given key.
    void addSinceNanos​(String key, long startNanos)
    Add a time event given the start nanos.
    void visit​(MetricVisitor visitor)
    Visit the metric.
  • Method Details

    • addSinceNanos

      void addSinceNanos​(String key, long startNanos)
      Add a time event given the start nanos.
    • add

      void add​(String key, long exeMicros)
      Add an execution for the given key.
    • visit

      void visit​(MetricVisitor visitor)
      Visit the metric.