import java.util.concurrent.ExecutorService; import java.util.concurrent.Executors; public class ThreadFactory { private static ExecutorService threadpool = Executors.newFixedThreadPool(200); public static ExecutorService getThreadpool() { return threadpool; } }
时间: 2024-12-28 16:32:19