public class SafeForkJoinWorkerThreadFactory extends Object implements ForkJoinPool.ForkJoinWorkerThreadFactory
ForkJoinPool.ForkJoinWorkerThreadFactory
that provides ForkJoinWorkerThread
s that won't trigger memory leaks due to retained
references to web application class loaders.
Note: This class must be available on the boot strap class path for it to be
visible to ForkJoinPool
.
Constructor and Description |
---|
SafeForkJoinWorkerThreadFactory() |
public ForkJoinWorkerThread newThread(ForkJoinPool pool)
newThread
in interface ForkJoinPool.ForkJoinWorkerThreadFactory
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.