| 程序包 | 说明 |
|---|---|
| cn.hippo4j.core.executor.support |
| 限定符和类型 | 方法和说明 |
|---|---|
ThreadPoolBuilder |
ThreadPoolBuilder.allowCoreThreadTimeOut(boolean allowCoreThreadTimeOut)
Allow core thread time-out.
|
ThreadPoolBuilder |
ThreadPoolBuilder.awaitTerminationMillis(long awaitTerminationMillis)
Await termination millis.
|
static ThreadPoolBuilder |
ThreadPoolBuilder.builder()
Builder design pattern implementation.
|
ThreadPoolBuilder |
ThreadPoolBuilder.capacity(int capacity)
Capacity.
|
ThreadPoolBuilder |
ThreadPoolBuilder.corePoolSize(int corePoolSize)
Core pool size.
|
ThreadPoolBuilder |
ThreadPoolBuilder.dynamicPool()
Dynamic pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.dynamicSupport(boolean waitForTasksToCompleteOnShutdown,
long awaitTerminationMillis)
Dynamic support.
|
ThreadPoolBuilder |
ThreadPoolBuilder.executeTimeOut(long executeTimeOut)
Execute time-out.
|
ThreadPoolBuilder |
ThreadPoolBuilder.isFastPool(Boolean isFastPool)
Is fast pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.keepAliveTime(long keepAliveTime)
Keep alive time.
|
ThreadPoolBuilder |
ThreadPoolBuilder.keepAliveTime(long keepAliveTime,
TimeUnit timeUnit)
Keep alive time.
|
ThreadPoolBuilder |
ThreadPoolBuilder.maxPoolNum(int maxPoolSize)
Max pool num.
|
ThreadPoolBuilder |
ThreadPoolBuilder.poolThreadSize(int corePoolSize,
int maxPoolSize)
Pool thread size.
|
ThreadPoolBuilder |
ThreadPoolBuilder.rejected(RejectedExecutionHandler rejectedExecutionHandler)
Rejected.
|
ThreadPoolBuilder |
ThreadPoolBuilder.singlePool()
Single pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.singlePool(String threadNamePrefix)
Single pool.
|
ThreadPoolBuilder |
ThreadPoolBuilder.taskDecorator(org.springframework.core.task.TaskDecorator taskDecorator)
Task decorator.
|
ThreadPoolBuilder |
ThreadPoolBuilder.threadFactory(String threadNamePrefix)
Thread factory.
|
ThreadPoolBuilder |
ThreadPoolBuilder.threadFactory(String threadNamePrefix,
Boolean isDaemon)
Thread factory.
|
ThreadPoolBuilder |
ThreadPoolBuilder.threadFactory(ThreadFactory threadFactory)
Thread factory.
|
ThreadPoolBuilder |
ThreadPoolBuilder.threadPoolId(String threadPoolId)
Thread-pool id.
|
ThreadPoolBuilder |
ThreadPoolBuilder.timeUnit(TimeUnit timeUnit)
Time unit.
|
ThreadPoolBuilder |
ThreadPoolBuilder.waitForTasksToCompleteOnShutdown(boolean waitForTasksToCompleteOnShutdown)
Wait for tasks to complete on shutdown.
|
ThreadPoolBuilder |
ThreadPoolBuilder.workQueue(BlockingQueue workQueue)
Work queue.
|
ThreadPoolBuilder |
ThreadPoolBuilder.workQueue(BlockingQueueTypeEnum blockingQueueType)
Work queue.
|
ThreadPoolBuilder |
ThreadPoolBuilder.workQueue(BlockingQueueTypeEnum queueType,
int capacity)
Work queue.
|
Copyright © 2022. All rights reserved.