Interface ThreadFactory


public interface ThreadFactory
Makes the threads an executor runs its tasks on.
  • Method Summary

    Modifier and Type
    Method
    Description
    A new, unstarted thread that runs r; null to refuse.
  • Method Details

    • newThread

      Thread newThread(Runnable r)
      A new, unstarted thread that runs r; null to refuse.