Class PooledExecutor.Worker

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    PooledExecutor

    protected class PooledExecutor.Worker
    extends java.lang.Object
    implements java.lang.Runnable
    Class defining the basic run loop for pooled threads.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Runnable firstTask_  
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected Worker​(java.lang.Runnable firstTask)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void run()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • firstTask_

        protected java.lang.Runnable firstTask_
    • Constructor Detail

      • Worker

        protected Worker​(java.lang.Runnable firstTask)
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable