Class AsyncThreadDispatcher
Inheritance
java.lang.Object
AsyncThreadDispatcher
Syntax
public class AsyncThreadDispatcher
Constructors
AsyncThreadDispatcher(int maxThreads, String threadNameSuffix)
Declaration
public AsyncThreadDispatcher(int maxThreads, String threadNameSuffix)
Parameters
Type | Name | Description |
---|---|---|
int | maxThreads | |
String | threadNameSuffix |
Methods
dispose()
Declaration
public void dispose()
submit(AsyncTask<T> task)
Declaration
public <T> AsyncResult<T> submit(AsyncTask<T> task)
Parameters
Type | Name | Description |
---|---|---|
AsyncTask<T> | task |
Returns
Type | Description |
---|---|
<T> AsyncResult<T> |