摘要:
//超过60s断开连接private final static int TIMEOUT = 1000 * 60;private Document getDocumentByUrl(String url) throws Exception { return Jsoup.connect(url) .he 阅读全文
posted @ 2017-02-28 10:36
samcheng
阅读(290)
评论(0)
推荐(0)
摘要:
//线程的数量private static final int UPD_NO_THREADS = 5;//线程池的容量private ExecutorService executorService = Executors.newFixedThreadPool(UPD_NO_THREADS);publ 阅读全文
posted @ 2017-02-28 10:34
samcheng
阅读(184)
评论(0)
推荐(0)

浙公网安备 33010602011771号