摘要: BlockingQueue BlockingQueue、解决了多线程中,如何高效安全“传输”数据的问题。程序员无需关心什么时候阻塞线程,什么时候唤醒线程,该唤醒哪个线程。 方法介绍 BlockingQueue是Queue的子类 void put(E e) 插入指定元素,当BlockingQueue为 阅读全文
posted @ 2019-08-08 18:06 Rest探路者 阅读(1209) 评论(0) 推荐(0) 编辑
levels of contents