Package org.jruby.threading
Class DaemonThreadFactory
java.lang.Object
org.jruby.threading.DaemonThreadFactory
- All Implemented Interfaces:
ThreadFactory
A ThreadFactory for when we're using pooled threads; we want to create
the threads with daemon = true so they don't keep us from shutting down.
-
Constructor Summary
ConstructorsConstructorDescriptionDaemonThreadFactory
(String name) DaemonThreadFactory
(String name, int priority) -
Method Summary
-
Constructor Details
-
DaemonThreadFactory
-
DaemonThreadFactory
-
DaemonThreadFactory
public DaemonThreadFactory()
-
-
Method Details
-
newThread
- Specified by:
newThread
in interfaceThreadFactory
-