com.sun.grizzly.util
Class WorkerThreadFactory

java.lang.Object
  extended by 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

Constructor Summary
WorkerThreadFactory()
           
WorkerThreadFactory(String name)
           
 
Method Summary
 Thread newThread(Runnable r)
          Create a new WorkerThread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkerThreadFactory

public WorkerThreadFactory()

WorkerThreadFactory

public WorkerThreadFactory(String name)
Method Detail

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.