Class BasicThreadPool.ThreadPoolThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory
    Enclosing class:
    BasicThreadPool

    private class BasicThreadPool.ThreadPoolThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    A factory for threads
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Thread newThread​(java.lang.Runnable runnable)  
      • Methods inherited from class java.lang.Object

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

      • ThreadPoolThreadFactory

        private ThreadPoolThreadFactory()
    • Method Detail

      • newThread

        public java.lang.Thread newThread​(java.lang.Runnable runnable)
        Specified by:
        newThread in interface java.util.concurrent.ThreadFactory