Class RestCommonThreadPool

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory

    public final class RestCommonThreadPool
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable r)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory
      • getCommonPool

        public static java.util.concurrent.ExecutorService getCommonPool()
      • getCommonScheduledPool

        public static java.util.concurrent.ScheduledExecutorService getCommonScheduledPool()
      • getNumbersOfThreads

        public static int getNumbersOfThreads()