Skip to content

v1.5.0

Compare
Choose a tag to compare
@Jacksgong Jacksgong released this 04 Jun 17:24
· 307 commits to master since this release

中文迭代日志

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 through FileDownloader#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, -]