Package io.quarkus.dev.io
Class NioThreadPoolThreadFactory
- java.lang.Object
-
- io.quarkus.dev.io.NioThreadPoolThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
public class NioThreadPoolThreadFactory extends Object implements ThreadFactory
We need to be able to update the TCCL of the NIO default thread pool in dev/test modeThis class lets us to that.
-
-
Constructor Summary
Constructors Constructor Description NioThreadPoolThreadFactory()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ThreadnewThread(Runnable r)static ClassLoaderupdateTccl(ClassLoader cl)
-
-
-
Method Detail
-
newThread
public Thread newThread(Runnable r)
- Specified by:
newThreadin interfaceThreadFactory
-
updateTccl
public static ClassLoader updateTccl(ClassLoader cl)
-
-