获取最佳线程池线程大小

Runtime.getRuntime().availableProcessors()

猜你喜欢

转载自www.cnblogs.com/lishuaiqi/p/9820759.html