Package generic.util
Class NamedDaemonThreadFactory
- java.lang.Object
-
- generic.util.NamedDaemonThreadFactory
-
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
public class NamedDaemonThreadFactory extends java.lang.Object implements java.util.concurrent.ThreadFactory
NamedDaemonThreadFactory is a thread factory which forms daemon threads with a specified name prefix for the Java concurrent Executors pools.
-
-
Constructor Summary
Constructors Constructor Description NamedDaemonThreadFactory(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Thread
newThread(java.lang.Runnable r)
-