v1.5.0
版本发布时间: 2017-06-05 01:24:41
lingochamp/FileDownloader最新发布版本:v1.7.5(2018-08-03 16:15:47)
Version 1.5.0
2017-06-05
New Interfaces
- Improve Practicability: Support multiple-connection(multiple threads) for one downloading task. Closes #102
- Improve Practicability: Support
ConnectionCountAdapter
to customize connection count for each task(you can set it throughFileDownloader#init
). - Improve Performance: Refactor whole download logic and origin callback logic and remove 1000 line class
FileDownloadRunnable
.
The default connection count strategy for each task, you can customize it through ConnectionCountAdapter
:
- one connection: file length [0, 1MB)
- two connections: file length [1MB, 5MB)
- three connections: file length [5MB, 50MB)
- four connections: file length [50MB, 100MB)
- five connections: file length [100MB, -]