Class DaemonThreadPoolProvider.DaemonThreadFactory
java.lang.Object
net.adoptopenjdk.icedteaweb.resources.DaemonThreadPoolProvider.DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
- Enclosing class:
DaemonThreadPoolProvider
private static class DaemonThreadPoolProvider.DaemonThreadFactory
extends Object
implements ThreadFactory
This is copypasted default factory from java.util.concurrent.Executors.
The only difference is, that it creates daemon threads.
Except creating new threads, the rest of class is complicated creation of
name.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ThreadGroupprivate final Stringprivate static final AtomicIntegerprivate final AtomicInteger -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
poolNumber
-
group
-
threadNumber
-
namePrefix
-
-
Constructor Details
-
DaemonThreadFactory
public DaemonThreadFactory()
-
-
Method Details
-
newThread
- Specified by:
newThreadin interfaceThreadFactory
-