Interface BandwidthStatistic

    • Method Detail

      • addSample

        void addSample​(long bytes,
                       long durationUs)
        Deprecated.
        Adds a transfer sample to the statistic.
        Parameters:
        bytes - The number of bytes transferred.
        durationUs - The duration of the transfer, in microseconds.
      • reset

        void reset()
        Deprecated.
        Resets the statistic. The statistic should drop all samples and reset to its initial state, similar to right after construction.