public class SafeForkJoinWorkerThreadFactory
extends java.lang.Object
implements java.util.concurrent.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 |
---|---|
java.util.concurrent.ForkJoinWorkerThread |
newThread(java.util.concurrent.ForkJoinPool pool) |
Copyright © 2000-2018 Apache Software Foundation. All Rights Reserved.