类 ScheduledExecutorFactory


  • public class ScheduledExecutorFactory
    extends java.lang.Object
    作者:
    BiJi'an
    Description:
    Date:
    2023-03-04 01:32
    • 方法概要

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.util.concurrent.ScheduledExecutorService get​(java.lang.String name)  
      static java.util.concurrent.ScheduledExecutorService get​(java.lang.String name, boolean createIfNoExist)  
      static java.util.concurrent.ScheduledExecutorService register​(java.lang.String name, int corePoolSize)  
      static java.util.List<java.lang.Runnable> shutdownNow​(java.lang.String name)  
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ScheduledExecutorFactory

        public ScheduledExecutorFactory()
    • 方法详细资料

      • 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 - name
        createIfNoExist - 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