public interface IQueuesHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
contain(int attachKey) |
void |
freezeAllSerialQueues() |
int |
serialQueueSize() |
boolean |
startQueueParallel(FileDownloadListener listener)
Start tasks which the same
listener as a queue, and execute theme in parallel. |
boolean |
startQueueSerial(FileDownloadListener listener)
Start tasks which the same
listener as a queue, and execute theme one by one. |
void |
unFreezeSerialQueues(java.util.List<java.lang.Integer> attachKeyList) |
boolean startQueueParallel(FileDownloadListener listener)
listener as a queue, and execute theme in parallel.listener - Used to assemble tasks which is bound by the same listenerboolean startQueueSerial(FileDownloadListener listener)
listener as a queue, and execute theme one by one.listener - Used to assemble tasks which is bound by the same listenervoid freezeAllSerialQueues()
void unFreezeSerialQueues(java.util.List<java.lang.Integer> attachKeyList)
int serialQueueSize()
boolean contain(int attachKey)