|
|
@ -80,13 +80,13 @@ public class DynamicThreadPoolExecutor extends ExtensibleThreadPoolExecutor impl
|
|
|
|
* or {@code threadFactory} or {@code handler} is null
|
|
|
|
* or {@code threadFactory} or {@code handler} is null
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
public DynamicThreadPoolExecutor(
|
|
|
|
public DynamicThreadPoolExecutor(
|
|
|
|
int corePoolSize, int maximumPoolSize,
|
|
|
|
int corePoolSize, int maximumPoolSize,
|
|
|
|
long keepAliveTime, TimeUnit unit,
|
|
|
|
long keepAliveTime, TimeUnit unit,
|
|
|
|
long executeTimeOut, boolean waitForTasksToCompleteOnShutdown, long awaitTerminationMillis,
|
|
|
|
long executeTimeOut, boolean waitForTasksToCompleteOnShutdown, long awaitTerminationMillis,
|
|
|
|
@NonNull BlockingQueue<Runnable> blockingQueue,
|
|
|
|
@NonNull BlockingQueue<Runnable> blockingQueue,
|
|
|
|
@NonNull String threadPoolId,
|
|
|
|
@NonNull String threadPoolId,
|
|
|
|
@NonNull ThreadFactory threadFactory,
|
|
|
|
@NonNull ThreadFactory threadFactory,
|
|
|
|
@NonNull RejectedExecutionHandler rejectedExecutionHandler) {
|
|
|
|
@NonNull RejectedExecutionHandler rejectedExecutionHandler) {
|
|
|
|
super(
|
|
|
|
super(
|
|
|
|
threadPoolId, new DefaultThreadPoolPluginManager(),
|
|
|
|
threadPoolId, new DefaultThreadPoolPluginManager(),
|
|
|
|
corePoolSize, maximumPoolSize, keepAliveTime, unit,
|
|
|
|
corePoolSize, maximumPoolSize, keepAliveTime, unit,
|
|
|
|