public final class WorkerThreadFactory extends Object implements ThreadFactory
| Constructor and Description |
|---|
WorkerThreadFactory(String namePrefix)
Creates a new thread factory whose threads will have names using the specified prefix.
|
public WorkerThreadFactory(String namePrefix)
namePrefix - The prefix for the thread names, may be null or empty to derive the prefix from the
caller's simple class name.public Thread newThread(Runnable r)
newThread in interface ThreadFactoryCopyright © 2010-2015 The Eclipse Foundation. All Rights Reserved.