jsr166z.forkjoin
Class ForkJoinPool.DefaultForkJoinWorkerThreadFactory

java.lang.Object
  extended by jsr166z.forkjoin.ForkJoinPool.DefaultForkJoinWorkerThreadFactory
All Implemented Interfaces:
ForkJoinPool.ForkJoinWorkerThreadFactory
Enclosing class:
ForkJoinPool

public static class ForkJoinPool.DefaultForkJoinWorkerThreadFactory
extends java.lang.Object
implements ForkJoinPool.ForkJoinWorkerThreadFactory

The default ForkJoinWorkerThreadFactory, used unless overridden in ForkJoinPool constructors.


Constructor Summary
ForkJoinPool.DefaultForkJoinWorkerThreadFactory()
           
 
Method Summary
 ForkJoinWorkerThread newThread(ForkJoinPool pool)
          Returns a new worker thread operating in the given pool.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ForkJoinPool.DefaultForkJoinWorkerThreadFactory

public ForkJoinPool.DefaultForkJoinWorkerThreadFactory()
Method Detail

newThread

public ForkJoinWorkerThread newThread(ForkJoinPool pool)
Description copied from interface: ForkJoinPool.ForkJoinWorkerThreadFactory
Returns a new worker thread operating in the given pool.

Specified by:
newThread in interface ForkJoinPool.ForkJoinWorkerThreadFactory
Parameters:
pool - the pool this thread works in