Class ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory

  • All Implemented Interfaces:
    java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
    Enclosing class:
    ForkJoinPoolHierarchicalTestExecutorService

    static class ForkJoinPoolHierarchicalTestExecutorService.WorkerThreadFactory
    extends java.lang.Object
    implements java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.ClassLoader contextClassLoader  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.concurrent.ForkJoinWorkerThread newThread​(java.util.concurrent.ForkJoinPool pool)  
      • Methods inherited from class java.lang.Object

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

      • contextClassLoader

        private final java.lang.ClassLoader contextClassLoader
    • Constructor Detail

      • WorkerThreadFactory

        WorkerThreadFactory()
    • Method Detail

      • newThread

        public java.util.concurrent.ForkJoinWorkerThread newThread​(java.util.concurrent.ForkJoinPool pool)
        Specified by:
        newThread in interface java.util.concurrent.ForkJoinPool.ForkJoinWorkerThreadFactory