Class PausableFixedThreadPoolExecutor

    • Field Detail

      • m_IsPaused

        protected boolean m_IsPaused
        whether the executor is paused.
      • m_Unpaused

        protected Condition m_Unpaused
        for resuming.
    • Constructor Detail

      • PausableFixedThreadPoolExecutor

        public PausableFixedThreadPoolExecutor​(int numThreads)
        Initializes the thread pool.
        Parameters:
        numThreads - the maximum number of threads to use