| 程序包 | 说明 |
|---|---|
| com.github.paganini2008.devtools.multithreads |
| 限定符和类型 | 类和说明 |
|---|---|
class |
GenericThreadPool
GenericThreadPool
|
class |
Jdk14ThreadPool
Jdk14ThreadPool
|
| 限定符和类型 | 字段和说明 |
|---|---|
(专用程序包) ThreadPool |
Jdk14ThreadPool.PromiseRunnable.threadPool |
(专用程序包) ThreadPool |
GenericThreadPool.ActionFutureTask.threadPool |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPool |
ThreadPoolBuilder.build() |
static ThreadPool |
ThreadUtils.commonPool() |
static ThreadPool |
ThreadUtils.commonPool(int maxPoolSize) |
static ThreadPool |
ThreadUtils.commonPool(int maxPoolSize,
long timeout,
int queueSize) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
RejectedExecutionHandler.handleRejectedExecution(Runnable r,
ThreadPool threadPool) |
default void |
Action.onFailure(Exception e,
ThreadPool threadPool) |
default R |
Action.onReaction(R result,
ThreadPool threadPool) |
| 构造器和说明 |
|---|
ActionFutureTask(Future<R> delegate,
Action<R> action,
GenericThreadPool.Reference<R> reference,
ThreadPool threadPool) |
PromiseRunnable(Action<R> action,
Jdk14ThreadPool.Reference<R> reference,
ThreadPool threadPool) |
Copyright © 2020. All rights reserved.