public class AsyncPool extends Object
The set of currently active and recently completed tasks.
  • Method Details

    • get

      public static AsyncPool get()
    • submit

      public AsyncTask submit(Runnable task, String displayName, DataService dataService, long requestId)
    • tasks

      public Collection<AsyncTask> tasks()
    • finished

      public void finished(AsyncTask task)
    • getRunningTask

      public AsyncTask getRunningTask(String taskId)
    • getTask

      public AsyncTask getTask(String taskId)
      Get a task - whether running or finished. Return null for no such task and also retired tasks. Only a limited number of old, finished tasks are remembered.