Class ThreadPoolBudget

    • Constructor Detail

      • ThreadPoolBudget

        public ThreadPoolBudget​(ThreadPool.SizedThreadPool pool)
        Construct a budget for a SizedThreadPool.
        Parameters:
        pool - The pool to budget thread allocation for.
      • ThreadPoolBudget

        @Deprecated
        public ThreadPoolBudget​(ThreadPool.SizedThreadPool pool,
                                int warnAt)
        Deprecated.
        Parameters:
        pool - The pool to budget thread allocation for.
        warnAt - The level of free threads at which a warning is generated.