net.sf.seide.thread
Class DefaultThreadFactory
java.lang.Object
net.sf.seide.thread.DefaultThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class DefaultThreadFactory
- extends Object
- implements ThreadFactory
Returns a Thread with the specified Thread.getName() and Thread.getPriority() configured.
Also concatenates to the name a suffix auto-incremented number.
- Author:
- german.kondolf
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultThreadFactory
public DefaultThreadFactory(String name)
DefaultThreadFactory
public DefaultThreadFactory(String name,
int priority)
newThread
public Thread newThread(Runnable r)
- Specified by:
newThread in interface ThreadFactory
Copyright © 2011. All Rights Reserved.