Interface Metrics.Timer

Enclosing interface:
Metrics

public static interface Metrics.Timer
A recorder of durations.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    record(long nanos)
    Records one observation.
  • Method Details

    • record

      void record(long nanos)
      Records one observation.
      Parameters:
      nanos - elapsed time in nanoseconds; negative values are ignored