Skip to content

Commit

Permalink
docs(queue-task): add note in the method BaseDownloadTask#asInQueueTa…
Browse files Browse the repository at this point in the history
…sk() to declare no need to invoke this method when user use FileDownloadQueueSet

Refs #307
  • Loading branch information
Jacksgong committed Sep 6, 2016
1 parent 1d54134 commit 1692f15
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ public interface BaseDownloadTask {
/**
* Declare the task will be assembled by a queue which makes up of the same listener task.
*
* <strong>Note:</strong> If you use {@link FileDownloadQueueSet} to start this task in a queue,
* you don't need to invoke this method manually, it has been handled by
* {@link FileDownloadQueueSet}.
*
* @return the task which is in a queue and exposes method {@link InQueueTask#enqueue()} to
* enqueue this task to the global queue to ready for being assembled by the queue.
*/
Expand Down

0 comments on commit 1692f15

Please sign in to comment.