07 2022 档案

摘要:Semaphore semaphore = new Semaphore(nThread); //创建线程池 ThreadPoolExecutor executor = new ThreadPoolExecutor(2, nThread, 0L, TimeUnit.MILLISECONDS, new 阅读全文
posted @ 2022-07-20 22:06 别动我的猫 阅读(157) 评论(0) 推荐(0) 编辑
摘要:一、jar包 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> </dependency> 二、定义HttpCo 阅读全文
posted @ 2022-07-17 10:26 别动我的猫 阅读(2018) 评论(0) 推荐(0) 编辑