Package com.slack.api.util.thread
Class DaemonThreadFactory
java.lang.Object
com.slack.api.util.thread.DaemonThreadFactory
- All Implemented Interfaces:
java.util.concurrent.ThreadFactory
public class DaemonThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
-
Constructor Summary
Constructors Constructor Description DaemonThreadFactory(java.lang.String threadGroupName) -
Method Summary
Modifier and Type Method Description java.lang.ThreadnewThread(java.lang.Runnable r)
-
Constructor Details
-
DaemonThreadFactory
public DaemonThreadFactory(java.lang.String threadGroupName)
-
-
Method Details
-
newThread
public java.lang.Thread newThread(java.lang.Runnable r)- Specified by:
newThreadin interfacejava.util.concurrent.ThreadFactory
-