Java并发-BlockingQueue

参考博客:https://blog.csdn.net/vernonzheng/article/details/8247564

一、概述:

BlockingQueue作为线程容器,可以为线程同步提供有力的保障。

二、BlockingQueue定义的常用方法

1.BlockingQueue定义的常用方法如下:

 

posted @ 2019-06-26 16:11  潘_磊  阅读(139)  评论(0编辑  收藏  举报