Class EolThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ThreadFactory

    public class EolThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    Since:
    1.6
    Author:
    Sina Madani
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected EolThreadFactory​(int threadLimit, java.lang.String threadNamePrefix)  
    • Method Summary

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

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

      • threadCount

        protected int threadCount
      • maxThreads

        protected final int maxThreads
      • namePrefix

        protected final java.lang.String namePrefix
    • Constructor Detail

      • EolThreadFactory

        protected EolThreadFactory​(int threadLimit,
                                   java.lang.String threadNamePrefix)
    • Method Detail

      • newThread

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