| 程序包 | 说明 |
|---|---|
| cn.hippo4j.core.executor | |
| cn.hippo4j.core.plugin.manager |
| 限定符和类型 | 类和说明 |
|---|---|
class |
DynamicThreadPoolExecutor
Enhanced dynamic and monitored thread pool.
|
class |
ExtensibleThreadPoolExecutor
Extensible thread-pool executor.
|
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPoolPluginSupport |
GlobalThreadPoolPluginManager.cancelManagement(String threadPoolId)
Cancel the management of the specified
ThreadPoolPluginSupport. |
ThreadPoolPluginSupport |
DefaultGlobalThreadPoolPluginManager.cancelManagement(String threadPoolId)
Cancel the management of the specified
ThreadPoolPluginSupport. |
ThreadPoolPluginSupport |
GlobalThreadPoolPluginManager.getManagedThreadPoolPluginSupport(String threadPoolId)
Get registered
ThreadPoolPluginSupport. |
@Nullable ThreadPoolPluginSupport |
DefaultGlobalThreadPoolPluginManager.getManagedThreadPoolPluginSupport(String threadPoolId)
Get registered
ThreadPoolPluginSupport. |
| 限定符和类型 | 方法和说明 |
|---|---|
Collection<ThreadPoolPluginSupport> |
GlobalThreadPoolPluginManager.getAllManagedThreadPoolPluginSupports()
Get all registered
ThreadPoolPluginSupport |
Collection<ThreadPoolPluginSupport> |
DefaultGlobalThreadPoolPluginManager.getAllManagedThreadPoolPluginSupports()
Get all registered
ThreadPoolPluginSupport |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
DefaultThreadPoolPluginRegistrar.doRegister(ThreadPoolPluginSupport support)
Create and register plugin for the specified thread-pool instance.
|
void |
GlobalThreadPoolPluginManager.doRegister(ThreadPoolPluginSupport support)
Synchronize all enabled plugins and registrars
in the current manager to the
ThreadPoolPluginSupport. |
void |
ThreadPoolPluginRegistrar.doRegister(ThreadPoolPluginSupport support)
Create and register plugin for the specified thread-pool instance.
|
void |
DefaultGlobalThreadPoolPluginManager.doRegister(@NonNull ThreadPoolPluginSupport support)
Synchronize all enabled plugins and registrars in the current manager to the
ThreadPoolPluginSupport
whether the support has been managed by the current manager. |
boolean |
GlobalThreadPoolPluginManager.registerThreadPoolPluginSupport(ThreadPoolPluginSupport support)
Synchronize all enabled plugins and registrars
in the current manager to the
ThreadPoolPluginSupport,
After that, this support will be synchronized with the plug-in and registrar status in the manager. |
boolean |
DefaultGlobalThreadPoolPluginManager.registerThreadPoolPluginSupport(@NonNull ThreadPoolPluginSupport support)
Synchronize all enabled plugins and registrars
in the current manager to the
ThreadPoolPluginSupport if the support has not been managed before,
After that, this support will be synchronized with the plug-in and registrar status in the manager. |
Copyright © 2022. All rights reserved.