Class ExecutorFactory


  • public class ExecutorFactory
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static StringManager sm  
    • Constructor Summary

      Constructors 
      Constructor Description
      ExecutorFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.concurrent.ExecutorService newThreadPool​(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit)  
      static java.util.concurrent.ExecutorService newThreadPool​(int minThreads, int maxThreads, long maxIdleTime, java.util.concurrent.TimeUnit unit, java.util.concurrent.ThreadFactory threadFactory)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExecutorFactory

        public ExecutorFactory()
    • Method Detail

      • newThreadPool

        public static java.util.concurrent.ExecutorService newThreadPool​(int minThreads,
                                                                         int maxThreads,
                                                                         long maxIdleTime,
                                                                         java.util.concurrent.TimeUnit unit)
      • newThreadPool

        public static java.util.concurrent.ExecutorService newThreadPool​(int minThreads,
                                                                         int maxThreads,
                                                                         long maxIdleTime,
                                                                         java.util.concurrent.TimeUnit unit,
                                                                         java.util.concurrent.ThreadFactory threadFactory)