public static class Task.Dispatchers extends Object
| 构造器和说明 |
|---|
Dispatchers() |
| 限定符和类型 | 方法和说明 |
|---|---|
static ExecutorDispatcher |
newExecutorDispatcher(int threadPoolSize) |
static ExecutorDispatcher |
newExecutorDispatcher(int threadPoolSize,
int capacity) |
static SimpleDispatcher |
newSimpleDispatcher() |
static ThreadDispatcher |
newThreadDispatcher(int threadPoolSize) |
static ThreadDispatcher |
newThreadDispatcher(int threadPoolSize,
int capacity) |
public static SimpleDispatcher newSimpleDispatcher()
public static ExecutorDispatcher newExecutorDispatcher(int threadPoolSize)
public static ExecutorDispatcher newExecutorDispatcher(int threadPoolSize, int capacity)
public static ThreadDispatcher newThreadDispatcher(int threadPoolSize)
public static ThreadDispatcher newThreadDispatcher(int threadPoolSize, int capacity)