Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

edu.emory.mathcs.util.concurrent
Interface ThreadFactory  view ThreadFactory download ThreadFactory.java

All Known Implementing Classes:
PlainThreadFactory

public interface ThreadFactory

Interface describing any class that can generate new Thread objects. Using ThreadFactories removes hardwiring of calls to new Thread, enabling applications to use special thread subclasses, default prioritization settings, etc.

[ Introduction to this package. ]


Method Summary
 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)
Create a new thread that will run the given command when started