< prev index next >

src/java.base/share/classes/java/util/concurrent/ThreadFactory.java

Print this page
@@ -52,18 +52,21 @@
   * The {@link Executors#defaultThreadFactory} method provides a more
   * useful simple implementation, that sets the created thread context
   * to known values before returning it.
   * @since 1.5
   * @author Doug Lea
+  * @see Thread.Builder#factory()
   */
  public interface ThreadFactory {
  
      /**
       * Constructs a new {@code Thread}.  Implementations may also initialize
       * priority, name, daemon status, {@code ThreadGroup}, etc.
       *
       * @param r a runnable to be executed by new thread instance
       * @return constructed thread, or {@code null} if the request to
       *         create a thread is rejected
+      *
+      * @see <a href="../../lang/Thread.html#inheritance">Inheritance</a>
       */
      Thread newThread(Runnable r);
  }
< prev index next >