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() |
Modifier and Type | Method and Description |
---|---|
ForkJoinWorkerThread |
newThread(ForkJoinPool pool) |
public ForkJoinWorkerThread newThread(ForkJoinPool pool)
newThread
in interface ForkJoinPool.ForkJoinWorkerThreadFactory
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.