| 程序包 | 说明 |
|---|---|
| cn.hippo4j.core.executor | |
| cn.hippo4j.core.plugin.manager |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DynamicThreadPoolExecutor
Enhanced dynamic and monitored thread pool.
|
class |
ExtensibleThreadPoolExecutor
Extensible thread-pool executor.
|
| 构造器和说明 |
|---|
ExtensibleThreadPoolExecutor(@NonNull String threadPoolId,
@NonNull ThreadPoolPluginManager threadPoolPluginManager,
int corePoolSize,
int maximumPoolSize,
long keepAliveTime,
TimeUnit unit,
@NonNull BlockingQueue<Runnable> workQueue,
@NonNull ThreadFactory threadFactory,
@NonNull RejectedExecutionHandler handler)
Creates a new
ExtensibleThreadPoolExecutor with the given initial parameters. |
| 限定符和类型 | 接口和说明 |
|---|---|
interface |
ThreadPoolPluginSupport
Used to support the binding of
ThreadPoolPluginManager and ThreadPoolExecutor. |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DefaultThreadPoolPluginManager
The default implementation of
ThreadPoolPluginManager. |
class |
EmptyThreadPoolPluginManager
Empty thread pool plugin manager.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static ThreadPoolPluginManager |
ThreadPoolPluginManager.empty()
Get an empty manager.
|
@NonNull ThreadPoolPluginManager |
ThreadPoolPluginSupport.getThreadPoolPluginManager()
Get thread pool action aware registry.
|
Copyright © 2022. All rights reserved.