Class IndexedThreadFactory

java.lang.Object
io.nosqlbench.virtdata.userlibs.apps.valuesapp.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
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    class  IndexedThreadFactory.IndexedThread  
  • Constructor Summary

    Constructors 
    Constructor Description
    IndexedThreadFactory​(java.lang.String name, java.lang.Thread.UncaughtExceptionHandler exceptionHandler)  
  • Method Summary

    Modifier and Type Method Description
    IndexedThreadFactory.IndexedThread newThread​(java.lang.Runnable r)  

    Methods inherited from class java.lang.Object

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

    • IndexedThreadFactory

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