Interface Histogram

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

public interface Histogram
extends java.lang.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 close()  
    void recordDouble​(double value)  
    void recordLong​(long value)  
    HistogramSnapshot 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 java.lang.AutoCloseable