Class CumulativeHistogramLongTaskTimer

All Implemented Interfaces:
HistogramSupport, LongTaskTimer, Meter

public class CumulativeHistogramLongTaskTimer extends DefaultLongTaskTimer
Extends the default long task timer, making histogram counts cumulative over time.
Since:
1.5.2
  • Constructor Details

  • Method Details

    • takeSnapshot

      public HistogramSnapshot takeSnapshot()
      Description copied from interface: HistogramSupport
      Summary statistics should be published off of a single snapshot instance so that, for example, there isn't disagreement between the distribution's bucket counts because more events continue to stream in.
      Specified by:
      takeSnapshot in interface HistogramSupport
      Overrides:
      takeSnapshot in class DefaultLongTaskTimer
      Returns:
      A snapshot of all distribution statistics at a point in time.