Loading

摘要: //获取CPU合数 System.out.println(Runtime.getRuntime().availableProcessors()); 阅读全文
posted @ 2020-04-15 11:53 Rzk 阅读(149) 评论(0) 推荐(0) 编辑
摘要: 1 //Executors 工具类 2 //使用线程池之后,使用线程池来创建线程 3 public class Dome1 { 4 public static void main(String[] args) { 5 ExecutorService threadExecutor = Executor 阅读全文
posted @ 2020-04-15 11:46 Rzk 阅读(231) 评论(0) 推荐(0) 编辑