public final class DaemonThreadFactory extends Object implements ThreadFactory
Constructor and Description |
---|
DaemonThreadFactory() |
Modifier and Type | Method and Description |
---|---|
Thread |
newThread(Runnable runnable)
Constructs a new Thread with priority and daemon status
|
public Thread newThread(Runnable runnable)
newThread
in interface ThreadFactory
runnable
- a runnable to be executed by new thread instanceCopyright © 2020 City of Paris. All rights reserved.