Object
DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
This thread factory uses Java default thread factory to create a thread and then marks thread as
daemon thread.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
DaemonThreadFactory
public DaemonThreadFactory()
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-