Package org.apache.catalina.startup
Class SafeForkJoinWorkerThreadFactory
- java.lang.Object
-
- org.apache.catalina.startup.SafeForkJoinWorkerThreadFactory
-
- All Implemented Interfaces:
ForkJoinPool.ForkJoinWorkerThreadFactory
public class SafeForkJoinWorkerThreadFactory extends Object implements ForkJoinPool.ForkJoinWorkerThreadFactory
Provides aForkJoinPool.ForkJoinWorkerThreadFactorythat providesForkJoinWorkerThreads 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 Summary
Constructors Constructor Description SafeForkJoinWorkerThreadFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ForkJoinWorkerThreadnewThread(ForkJoinPool pool)
-
-
-
Method Detail
-
newThread
public ForkJoinWorkerThread newThread(ForkJoinPool pool)
- Specified by:
newThreadin interfaceForkJoinPool.ForkJoinWorkerThreadFactory
-
-