Interface Histogram

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
FixedBoundaryVictoriaMetricsHistogram, NoopHistogram, TimeWindowFixedBoundaryHistogram, TimeWindowPercentileHistogram

public interface Histogram extends AutoCloseable
The contract for histograms used to generate distribution statistics for Timer and DistributionSummary.
Since:
1.0.3
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
     
    void
    recordDouble​(double value)
     
    void
    recordLong​(long value)
     
    takeSnapshot​(long count, double total, double max)
     
  • Method Details

    • recordLong

      void recordLong(long value)
    • recordDouble

      void recordDouble(double value)
    • takeSnapshot

      HistogramSnapshot takeSnapshot(long count, double total, double max)
    • close

      default void close()
      Specified by:
      close in interface AutoCloseable