public class CustomThreadFactory extends Object implements ThreadFactory
Executors.defaultThreadFactory()public CustomThreadFactory(String threadName)
public Thread newThread(Runnable r)
newThread 在接口中 ThreadFactoryCopyright © 2022. All rights reserved.