Package edu.jas.util

Class PoolThread

java.lang.Object
java.lang.Thread
edu.jas.util.PoolThread
All Implemented Interfaces:
Runnable

class PoolThread extends Thread
Implements one Thread of the pool.
  • Field Details

    • pool

    • logger

      private static final org.apache.logging.log4j.Logger logger
    • debug

      private static final boolean debug
    • isWorking

      volatile boolean isWorking
  • Constructor Details

    • PoolThread

      public PoolThread(ThreadPool pool)
      Parameters:
      pool - ThreadPool.
  • Method Details

    • run

      public void run()
      Run the thread.
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread