类 ScheduledExecutorFactory
- java.lang.Object
-
- io.github.kylinhunter.commons.juc.ScheduledExecutorFactory
-
public class ScheduledExecutorFactory extends java.lang.Object- 作者:
- BiJi'an
- Description:
- Date:
- 2023-03-04 01:32
-
-
构造器概要
构造器 构造器 说明 ScheduledExecutorFactory()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 static java.util.concurrent.ScheduledExecutorServiceget(java.lang.String name)static java.util.concurrent.ScheduledExecutorServiceget(java.lang.String name, boolean createIfNoExist)static java.util.concurrent.ScheduledExecutorServiceregister(java.lang.String name, int corePoolSize)static java.util.List<java.lang.Runnable>shutdownNow(java.lang.String name)
-
-
-
方法详细资料
-
register
public static java.util.concurrent.ScheduledExecutorService register(java.lang.String name, int corePoolSize)- 参数:
corePoolSize- corePoolSize- 返回:
- java.util.concurrent.ThreadPoolExecutor
- Description:
- Date:
- 2023-03-04 01:42
- Title:
- a
-
get
public static java.util.concurrent.ScheduledExecutorService 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.ScheduledExecutorService get(java.lang.String name, boolean createIfNoExist)- 参数:
name- namecreateIfNoExist- createIfNoExist- 返回:
- java.util.concurrent.ScheduledExecutorService
- Description:
- Date:
- 2023-05-10 15:33
- Title:
- get
-
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
-
-