public static final class ThreadPool.ThreadPoolThreadFactory extends Object implements ThreadFactory
|Constructor and Description|
Initializes a new instance.
public ThreadPoolThreadFactory(String poolName)
poolName- The name of the pool, which will be prepended to each thread name.
public Thread newThread(Runnable r)
Thread. Implementations may also initialize priority, name, daemon status,
r- a runnable to be executed by new thread instance
nullif the request to create a thread is rejected