Interface PieceRTAProvider

All Known Implementing Classes:
DiskManagerChannelImpl, EnhancedDownloadManager.bufferETAProvider

public interface PieceRTAProvider
  • Method Details

    • updateRTAs

      long[] updateRTAs(PiecePicker picker)
    • getStartTime

      long getStartTime()
    • getStartPosition

      long getStartPosition()
    • getCurrentPosition

      long getCurrentPosition()
    • getBlockingPosition

      long getBlockingPosition()
    • setBufferMillis

      void setBufferMillis(long millis, long delay_millis)
      Sets an external view of how much buffer is being maintained by an external source. This reduces piece urgency and therefore reduces discard.
    • getUserAgent

      String getUserAgent()
      Returns the user-agent associated with this RTA activity, if known
      Returns: