摘要: CountDownLatch,一个同步辅助类,在完成一组正在其他线程中执行的操作之前,它允许一个或多个线程一直等待。主要方法public CountDownLatch(int count);public voidcountDown();public voidawait() throwsInterru... 阅读全文
posted @ 2014-10-21 09:57 鞋带Er 阅读(137) 评论(0) 推荐(0)