- threadFactory
- the factory to use when creating new threads
Documentation for this section has not yet been entered.
Type Reason Java.Lang.NullPointerException if threadFactory is null
Creates an Executor that uses a single worker thread operating off an unbounded queue, and uses the provided ThreadFactory to create a new thread when needed. Unlike the otherwise equivalent newFixedThreadPool(1, threadFactory) the returned executor is guaranteed not to be reconfigurable to use additional threads.