Interface ThreadFactoryIF

All Known Implementing Classes:
DefaultThreadFactory

public interface ThreadFactoryIF
This interface in implemented by objects that create Thread objects. Classes that create Thread objects through this interface can be passed a ThreadFactoryIF object that creates an instance of Thread or a subclass of Thread with different properties.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return a Thread that runs the given Runnable object.
  • Method Details

    • createThread

      Thread createThread(Runnable r)
      Return a Thread that runs the given Runnable object.