类 ThreadPoolExecutorFactory


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

      所有方法 静态方法 具体方法 
      修饰符和类型 方法 说明
      static java.util.concurrent.ThreadPoolExecutor get​(java.lang.String name)  
      static java.util.concurrent.ThreadPoolExecutor get​(java.lang.String name, boolean createIfNoExist)  
      static java.util.concurrent.ThreadPoolExecutor register​(java.lang.String name, int corePoolSize, int maximumPoolSize, int capacity)  
      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
    • 构造器详细资料

      • ThreadPoolExecutorFactory

        public ThreadPoolExecutorFactory()
    • 方法详细资料

      • register

        public static java.util.concurrent.ThreadPoolExecutor register​(java.lang.String name,
                                                                       int corePoolSize,
                                                                       int maximumPoolSize,
                                                                       int capacity)
        参数:
        corePoolSize - corePoolSize
        maximumPoolSize - maximumPoolSize
        capacity - 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