public class NamedThreadFactory
extends java.lang.Object
implements java.util.concurrent.ThreadFactory
| Modifier and Type | Method and Description |
|---|---|
static java.util.concurrent.ThreadFactory |
newNamedFactory(java.lang.String name)
Factory method to create a new names thread factory
|
java.lang.Thread |
newThread(java.lang.Runnable r) |
public static java.util.concurrent.ThreadFactory newNamedFactory(java.lang.String name)
name - the name of the factorypublic java.lang.Thread newThread(java.lang.Runnable r)
newThread in interface java.util.concurrent.ThreadFactoryData In Motion Consulting GmbH