public class TaskQueue extends java.lang.Object
TaskQueue(java.util.concurrent.ExecutorService threadPool)
void
complete()
protected void
exec(AsyncTask task)
protected java.util.concurrent.ExecutorService
getThreadPool()
submit(AsyncTask task)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public TaskQueue(java.util.concurrent.ExecutorService threadPool)
public void submit(AsyncTask task)
task
public void complete()
protected java.util.concurrent.ExecutorService getThreadPool()
protected void exec(AsyncTask task)
就是把任务提交到线程池中