Package cn.net.pap.task.executor
Class TaskExecutorUtil
java.lang.Object
cn.net.pap.task.executor.TaskExecutorUtil
线程池任务执行
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <V> TaskEnums
executeTasks
(String beanName, List<PapCallable<V>> tasks) 执行
-
Field Details
-
corePoolSizeTimes
-
maxPoolSizeTimes
-
queueCapacityTimes
-
-
Constructor Details
-
TaskExecutorUtil
public TaskExecutorUtil()
-
-
Method Details
-
executeTasks
执行- Parameters:
beanName
-tasks
-
-