Interface HistogramSupport

All Superinterfaces:
Meter
All Known Subinterfaces:
DistributionSummary, LongTaskTimer, Timer
All Known Implementing Classes:
AbstractDistributionSummary, AbstractTimer, CumulativeDistributionSummary, CumulativeHistogramLongTaskTimer, CumulativeTimer, DefaultLongTaskTimer, DropwizardDistributionSummary, DropwizardTimer, NoopDistributionSummary, NoopLongTaskTimer, NoopTimer, StepDistributionSummary, StepTimer

public interface HistogramSupport extends Meter
  • Method Details

    • takeSnapshot

      HistogramSnapshot takeSnapshot()
      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.
      Returns:
      A snapshot of all distribution statistics at a point in time.
    • takeSnapshot

      @Deprecated default HistogramSnapshot takeSnapshot(boolean supportsAggregablePercentiles)
      Deprecated.
      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.
      Parameters:
      supportsAggregablePercentiles - Ignored. The determination of aggregable percentile support is now made up front.
      Returns:
      A snapshot of all distribution statistics at a point in time.