Public 成员函数 | |
| void | download (final AbImageDownloadItem item) |
| void | shutdownNow () |
| void | shutdown () |
| void | listenShutdown () |
静态 Public 成员函数 | |
| static AbImageDownloadPool | getInstance () |
Protected 成员函数 | |
| AbImageDownloadPool (int nThreads) | |
Private 属性 | |
| ExecutorService | executorService = null |
静态 Private 属性 | |
| static String | TAG = "AbImageDownloadPool" |
| static final boolean | D = AbAppData.DEBUG |
| static AbImageDownloadPool | imageDownload = null |
| static int | nThreads = 3 |
| static Handler | handler |
Copyright (c) 2012 All rights reserved 名称:AbImageDownload.java 描述:线程池图片下载
|
inlineprotected |
构造图片下载器.
| nThreads | the n threads |
|
inline |
Download.
| item | the item |
|
inlinestatic |
单例构造图片下载器.
|
inline |
描述:关闭监听.
|
inline |
描述:平滑关闭.
|
inline |
描述:立即关闭.
|
staticprivate |
The Constant D.
|
private |
The executor service.
|
staticprivate |
下载完成后的消息句柄.
|
staticprivate |
The image download.
|
staticprivate |
固定3个线程来执行任务 .
|
staticprivate |
The tag.
1.8.4