类 ThreadPoolUtil
java.lang.Object
com.alibaba.ageiport.common.concurrent.ThreadPoolUtil
- 作者:
- lingyi
-
方法概要
修饰符和类型方法说明static ExecutorServicecreateExecutor(String name, int corePoolSize, int maxPoolSize, BlockingQueue<Runnable> workQueue) static ListeningExecutorServicecreateListeningExecutor(String name, int corePoolSize, int maxPoolSize, BlockingQueue<Runnable> workQueue) static ScheduledExecutorService
-
方法详细资料
-
createListeningExecutor
public static ListeningExecutorService createListeningExecutor(String name, int corePoolSize, int maxPoolSize, BlockingQueue<Runnable> workQueue) -
createExecutor
public static ExecutorService createExecutor(String name, int corePoolSize, int maxPoolSize, BlockingQueue<Runnable> workQueue) -
scheduledExecutorService
-