Package EDU.oswego.cs.dl.util.concurrent
Class ThreadFactoryUser.DefaultThreadFactory
- java.lang.Object
-
- EDU.oswego.cs.dl.util.concurrent.ThreadFactoryUser.DefaultThreadFactory
-
- All Implemented Interfaces:
ThreadFactory
- Enclosing class:
- ThreadFactoryUser
protected static class ThreadFactoryUser.DefaultThreadFactory extends java.lang.Object implements ThreadFactory
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
DefaultThreadFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Thread
newThread(java.lang.Runnable command)
Create a new thread that will run the given command when started
-
-
-
Method Detail
-
newThread
public java.lang.Thread newThread(java.lang.Runnable command)
Description copied from interface:ThreadFactory
Create a new thread that will run the given command when started- Specified by:
newThread
in interfaceThreadFactory
-
-