Package kieker.common.util.thread
Class DaemonThreadFactory
java.lang.Object
kieker.common.util.thread.DaemonThreadFactory
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
public class DaemonThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
A thread factory that creates daemon threads. The default thread parameters are based on
the default thread factory.
- Since:
- 1.13
- Author:
- Holger Knoche
-
Constructor Summary
Constructors Constructor Description DaemonThreadFactory()
Creates a new daemon thread factory. -
Method Summary
Modifier and Type Method Description java.lang.Thread
newThread(java.lang.Runnable runnable)
-
Constructor Details
-
DaemonThreadFactory
public DaemonThreadFactory()Creates a new daemon thread factory.
-
-
Method Details
-
newThread
public java.lang.Thread newThread(java.lang.Runnable runnable)- Specified by:
newThread
in interfacejava.util.concurrent.ThreadFactory
-