Class AbstractThreadPool.Worker

    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Thread t  
      protected long transactionExpirationTime  
    • Constructor Summary

      Constructors 
      Constructor Description
      Worker()  
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doWork()  
      protected abstract java.lang.Runnable getTask()  
      void run()  
      • Methods inherited from class java.lang.Object

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

      • t

        protected java.lang.Thread t
      • transactionExpirationTime

        protected volatile long transactionExpirationTime
    • Constructor Detail

      • Worker

        public Worker()
    • Method Detail

      • run

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

        protected void doWork()
      • getTask

        protected abstract java.lang.Runnable getTask()
                                               throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException