public class DispatcherThreadFactory extends Object implements ThreadFactory
public DispatcherThreadFactory(ThreadGroup group, String threadName)
group - The group that the threads will be associated with.threadName - The name for the threads.public Thread newThread(Runnable r)
newThread 在接口中 ThreadFactoryCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.