Interface ThreadPool.SizedThreadPool

    • Method Detail

      • getMinThreads

        int getMinThreads()
        Deprecated.
        Returns:
        the minimum number of threads
      • getMaxThreads

        int getMaxThreads()
        Deprecated.
        Returns:
        the maximum number of threads
      • setMinThreads

        void setMinThreads​(int threads)
        Deprecated.
        Parameters:
        threads - the minimum number of threads
      • setMaxThreads

        void setMaxThreads​(int threads)
        Deprecated.
        Parameters:
        threads - the maximum number of threads
      • getThreadPoolBudget

        default ThreadPoolBudget getThreadPoolBudget()
        Deprecated.
        Returns:
        a ThreadPoolBudget for this sized thread pool, or null of no ThreadPoolBudget can be returned