2019年10月15日

Java多线程(五)之BlockingQueue深入分析

摘要: 一、概述: BlockingQueue作为线程容器,可以为线程同步提供有力的保障。 二、BlockingQueue定义的常用方法 1.BlockingQueue定义的常用方法如下: 1)add(anObject):把anObject加到BlockingQueue里,即如果BlockingQueue可 阅读全文

posted @ 2019-10-15 17:25 Bertha然 阅读(707) 评论(0) 推荐(1)

导航