Interface TimeToFirstByteEstimator

    • Method Detail

      • getTimeToFirstByteEstimateUs

        long getTimeToFirstByteEstimateUs()
        Deprecated.
        Returns the estimated time to first byte of the response body, in microseconds, or C.TIME_UNSET if no estimate is available.
      • reset

        void reset()
        Deprecated.
        Resets the estimator.
      • onTransferInitializing

        void onTransferInitializing​(DataSpec dataSpec)
        Deprecated.
        Called when a transfer is being initialized.
        Parameters:
        dataSpec - Describes the data for which the transfer is initialized.
      • onTransferStart

        void onTransferStart​(DataSpec dataSpec)
        Deprecated.
        Called when a transfer starts.
        Parameters:
        dataSpec - Describes the data being transferred.