Interface ThreadFactory

    • Method Detail

      • 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