判断线程结束

判断线程结束

  1. 使用ExecutorService.isTerminated方式

    public void executor() throws InterruptedException{
    ExecutorService executorService = Executors.newFixedThreadPool(threadNum);
    List<Callable

posted @ 2017-10-11 16:29  CalronLoveRonnie  阅读(321)  评论(0)    收藏  举报
AmazingCounters.com