Interface Histogram

  • All Superinterfaces:
    Metric
    All Known Implementing Classes:
    DescriptiveStatisticsHistogram, DropwizardHistogramWrapper

    @Public
    public interface Histogram
    extends Metric
    Histogram interface to be used with Flink's metrics system.

    The histogram allows to record values, get the current count of recorded values and create histogram statistics for the currently seen elements.

    • Method Detail

      • update

        void update​(long value)
        Update the histogram with the given value.
        Parameters:
        value - Value to update the histogram with
      • getCount

        long getCount()
        Get the count of seen elements.
        Returns:
        Count of seen elements
      • getStatistics

        HistogramStatistics getStatistics()
        Create statistics for the currently recorded elements.
        Returns:
        Statistics about the currently recorded elements