Interface BackgroundCompileQueue.JoinableThreadFactory

All Superinterfaces:
ThreadFactory
Enclosing class:
BackgroundCompileQueue

public static interface BackgroundCompileQueue.JoinableThreadFactory extends ThreadFactory
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    joinOtherThreads(long timeout, TimeUnit unit)
    Join all but the current thread.

    Methods inherited from interface ThreadFactory

    newThread
  • Method Details

    • joinOtherThreads

      boolean joinOtherThreads(long timeout, TimeUnit unit) throws InterruptedException
      Join all but the current thread. If the current thread belongs to this thread factory, its interrupted status is just cleared instead of joining it.
      Throws:
      InterruptedException