ch.bind.philib.lang
Class NamedSeqThreadFactory
java.lang.Object
ch.bind.philib.lang.NamedSeqThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public final class NamedSeqThreadFactory
- extends Object
- implements ThreadFactory
A thread factory which generates thread names of the form
<name>-<sequence>
- Author:
- philipp meinen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NamedSeqThreadFactory
public NamedSeqThreadFactory(String name)
- Parameters:
name - The name which must be used for newly created threads.- See Also:
NamedSeqThreadFactory
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread in interface ThreadFactory
Copyright © 2013. All Rights Reserved.