Class IndexedThreadFactory

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

    public class IndexedThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ThreadFactory
    A named and indexed thread factory, making threads within a thread pool have the same name and a unique integer index
    • Constructor Detail

      • IndexedThreadFactory

        public IndexedThreadFactory​(java.lang.String name,
                                    java.lang.Thread.UncaughtExceptionHandler exceptionHandler)