com.sun.grizzly.util
Class WorkerThreadFactory
java.lang.Object
com.sun.grizzly.util.WorkerThreadFactory
- All Implemented Interfaces:
- ThreadFactory
public class WorkerThreadFactory
- extends Object
- implements ThreadFactory
Simple utility class to create WorkerThread
- Author:
- Jeanfrancois Arcand
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WorkerThreadFactory
public WorkerThreadFactory()
WorkerThreadFactory
public WorkerThreadFactory(String name)
newThread
public Thread newThread(Runnable r)
- Create a new
WorkerThread
.
- Specified by:
newThread
in interface ThreadFactory
- Parameters:
r
- a Runabble
- Returns:
Copyright © 2012 Oracle Corporation. All Rights Reserved.