摘要: java并发包中提供了三个常用的并发队列实现,分别是:ConcurrentLinkedQueue、LinkedBlockingQueue和ArrayBlockingQueue。 ConcurrentLinkedQueue使用的是CAS原语无锁队列实现,是一个异步队列,入队速度很快,出队进行了加锁,性 阅读全文
posted @ 2019-05-01 17:47 清风商 阅读(7137) 评论(0) 推荐(0)