Class TimeWindowFixedBoundaryHistogram

  • All Implemented Interfaces:
    Histogram, java.lang.AutoCloseable

    public class TimeWindowFixedBoundaryHistogram
    extends java.lang.Object
    A histogram implementation that does not support precomputed percentiles but supports aggregable percentile histograms and SLA boundaries. There is no need for a high dynamic range histogram and its more expensive memory footprint if all we are interested in is fixed histogram counts.
    Since:
    1.0.3
    • Constructor Detail

      • TimeWindowFixedBoundaryHistogram

        public TimeWindowFixedBoundaryHistogram​(Clock clock,
                                                DistributionStatisticConfig config,
                                                boolean supportsAggregablePercentiles)
    • Method Detail

      • recordLong

        public void recordLong​(long value)
        Specified by:
        recordLong in interface Histogram
      • recordDouble

        public void recordDouble​(double value)
        Specified by:
        recordDouble in interface Histogram
      • accumulatedHistogram

        protected U accumulatedHistogram()
      • currentHistogram

        protected T currentHistogram()