Package EDU.oswego.cs.dl.util.concurrent
Interface ThreadFactory
-
- All Known Implementing Classes:
ThreadFactoryUser.DefaultThreadFactory
public interface ThreadFactoryInterface describing any class that can generate new Thread objects. Using ThreadFactories removes hardwiring of calls tonew Thread, enabling applications to use special thread subclasses, default prioritization settings, etc.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ThreadnewThread(Runnable command)Create a new thread that will run the given command when started
-