Interface Histogram

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
FixedBoundaryVictoriaMetricsHistogram, NoopHistogram, StepBucketHistogram, 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 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