Interface PieceRTAProvider
-
- All Known Implementing Classes:
DiskManagerChannelImpl
,EnhancedDownloadManager.bufferETAProvider
public interface PieceRTAProvider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
getBlockingPosition()
long
getCurrentPosition()
long
getStartPosition()
long
getStartTime()
java.lang.String
getUserAgent()
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 Detail
-
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
java.lang.String getUserAgent()
Returns the user-agent associated with this RTA activity, if known- Returns:
-
-