类 ThreadPoolExecutorFactory
- java.lang.Object
-
- io.github.kylinhunter.commons.juc.ThreadPoolExecutorFactory
-
public class ThreadPoolExecutorFactory extends java.lang.Object- 作者:
- BiJi'an
- Description:
- Date:
- 2023-03-04 01:32
-
-
构造器概要
构造器 构造器 说明 ThreadPoolExecutorFactory()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static java.util.concurrent.ThreadPoolExecutorget(java.lang.String name)static java.util.concurrent.ThreadPoolExecutorget(java.lang.String name, boolean createIfNoExist)static java.util.concurrent.ThreadPoolExecutorregister(java.lang.String name, int corePoolSize, int maximumPoolSize, int capacity)static java.util.List<java.lang.Runnable>shutdownNow(java.lang.String name)
-
-
-
方法详细资料
-
register
public static java.util.concurrent.ThreadPoolExecutor register(java.lang.String name, int corePoolSize, int maximumPoolSize, int capacity)- 参数:
corePoolSize- corePoolSizemaximumPoolSize- maximumPoolSizecapacity- capacity- 返回:
- java.util.concurrent.ThreadPoolExecutor
- Description:
- Date:
- 2023-03-04 01:42
- Title:
- a
-
get
public static java.util.concurrent.ThreadPoolExecutor get(java.lang.String name)
- 参数:
name- name- 返回:
- java.util.concurrent.ThreadPoolExecutor
- Description:
- Date:
- 2023-03-04 01:44
- Title:
- get
-
get
public static java.util.concurrent.ThreadPoolExecutor get(java.lang.String name, boolean createIfNoExist)
-
shutdownNow
public static java.util.List<java.lang.Runnable> shutdownNow(java.lang.String name)
- 参数:
name- name- 返回:
- java.util.concurrent.ThreadPoolExecutor
- Description:
- Date:
- 2023-03-11 19:53
- Title:
- shutdownNow
-
-