Interface DistributionSummary

    • Method Detail

      • record

        default void record()
        Updates the statistics kept by the summary.
      • record

        void record​(double amount)
        Updates the statistics kept by the summary with the specified amount.
        Parameters:
        amount - Amount for an event being measured. For example, if the size in bytes of responses from a server. If the amount is less than 0 the value will be dropped.
      • count

        long count()
        The number of times that record has been called since this timer was created.
      • totalAmount

        double totalAmount()
        The total amount of all recorded events since this summary was created.
      • mean

        default double mean()
      • max

        double max()
        The maximum time of a single event.
      • percentile

        double percentile​(double percentile)
        The value at a specific percentile. This value is non-aggregable across dimensions.
      • histogramCountAtValue

        double histogramCountAtValue​(long value)
      • takeSnapshot

        HistogramSnapshot takeSnapshot​(boolean supportsAggregablePercentiles)
      • measure

        default Iterable<Measurement> measure()
        Description copied from interface: Meter
        Get a set of measurements. Should always return the same number of measurements and in the same order, regardless of the level of activity or the lack thereof.
        Specified by:
        measure in interface Meter
        Returns:
        The set of measurements that represents the instantaneous value of this meter.