Interface ResizableThreadPool

    • Method Detail

      • getCorePoolSize

        int getCorePoolSize()
        Returns maximum pool size of thread pool.
      • setCorePoolSize

        void setCorePoolSize​(int newCorePoolSize)
        Allows user to resize maximum size of the thread pool.
      • getMaximumPoolSize

        int getMaximumPoolSize()
        Returns maximum pool size of thread pool.
      • setMaximumPoolSize

        void setMaximumPoolSize​(int newMaximumPoolSize)
        Allows user to resize maximum size of the thread pool.