Class TimeWindowMin


  • class TimeWindowMin
    extends Object
    • Constructor Detail

      • TimeWindowMin

        public TimeWindowMin​(io.micrometer.core.instrument.Clock clock,
                             io.micrometer.core.instrument.distribution.DistributionStatisticConfig config)
      • TimeWindowMin

        public TimeWindowMin​(io.micrometer.core.instrument.Clock clock,
                             long rotateFrequencyMillis,
                             int bufferLength)
    • Method Detail

      • record

        public void record​(double sample,
                           TimeUnit timeUnit)
        For use by timer implementations.
        Parameters:
        sample - The value to record.
        timeUnit - The unit of time of the incoming sample.
      • poll

        public double poll​(TimeUnit timeUnit)
      • poll

        public double poll()
      • record

        public void record​(double sample)