类 NamedThreadPools
java.lang.Object
dev.tinyflow.core.util.NamedThreadPools
- 作者:
- michael yang (fuhai999@gmail.com)
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明static ExecutorServicenewCachedThreadPool(String name) static ExecutorServicenewCachedThreadPool(ThreadFactory threadFactory) static ExecutorServicenewFixedThreadPool(int nThreads, String name) static ExecutorServicenewFixedThreadPool(String prefix) static ScheduledExecutorServicenewScheduledThreadPool(int corePoolSize, String name) static ScheduledExecutorServicenewScheduledThreadPool(int corePoolSize, ThreadFactory threadFactory)
-
构造器详细资料
-
NamedThreadPools
public NamedThreadPools()
-
-
方法详细资料
-
newFixedThreadPool
-
newFixedThreadPool
-
newCachedThreadPool
-
newCachedThreadPool
-
newScheduledThreadPool
-
newScheduledThreadPool
public static ScheduledExecutorService newScheduledThreadPool(int corePoolSize, ThreadFactory threadFactory)
-