07 2022 档案
摘要:Semaphore semaphore = new Semaphore(nThread); //创建线程池 ThreadPoolExecutor executor = new ThreadPoolExecutor(2, nThread, 0L, TimeUnit.MILLISECONDS, new
阅读全文
摘要:一、jar包 <dependency> <groupId>org.apache.httpcomponents</groupId> <artifactId>httpclient</artifactId> <version>4.5.2</version> </dependency> 二、定义HttpCo
阅读全文