public class DefaultThreadFactory extends Object implements ThreadFactory
ThreadFactory
interface that is
used by the API.Modifier and Type | Field and Description |
---|---|
static DefaultThreadFactory |
DEFAULT
A constant holding the default thread factory.
|
Modifier and Type | Method and Description |
---|---|
Thread |
newThread(Runnable target)
Returns a new thread the will be created in the following way:
|
public static final DefaultThreadFactory DEFAULT
public Thread newThread(Runnable target)
return new FastThreadLocalThread(target, target.toString())
newThread
in interface ThreadFactory
FastThreadLocalThread
Copyright © 2017–2021 SNF4J.ORG. All rights reserved.