Interface ThreadFactory

All Superinterfaces:
ThreadFactory
All Known Implementing Classes:
DaemonThreadFactory

public interface ThreadFactory extends ThreadFactory
Factory interface for Thread creation.
Author:
mf 2006.09.06
  • Method Details

    • makeThread

      Thread makeThread(ThreadGroup group, Runnable runnable, String sName)
      Create a Thread with the specified group, runnable, and name.
      Parameters:
      group - (optional) the thread's thread group
      runnable - (optional) the thread's runnable
      sName - (optional) the thread's name
      Returns:
      a new thread using the specified parameters