Interface PieceRTAProvider
- All Known Implementing Classes:
DiskManagerChannelImpl
,EnhancedDownloadManager.bufferETAProvider
public interface PieceRTAProvider
-
Method Summary
Modifier and TypeMethodDescriptionlong
long
long
long
Returns the user-agent associated with this RTA activity, if knownvoid
setBufferMillis
(long millis, long delay_millis) Sets an external view of how much buffer is being maintained by an external source.long[]
updateRTAs
(PiecePicker picker)
-
Method Details
-
updateRTAs
-
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:
-