随笔分类 -  Disruptor

生产者消费者
摘要:1 Disruptor disruptor = new Disruptor<ValueEvent>(ValueEvent.EVENT_FACTORY, ringBufferSize, exec, ProducerType.MULTI, waitStrategy); createMultiProduc 阅读全文
posted @ 2016-06-08 15:03 穿林度水 阅读(849) 评论(0) 推荐(0)
摘要:无锁并发框架从功能上来看,Disruptor 是实现了“队列”的功能,而且是一个有界队列。那么它的应用场景自然就是“生产者-消费者”模型的应用场合了。链接:http://www.cnblogs.com/hupengcool/p/4196965.html?utm_source=tuicool&utm_... 阅读全文
posted @ 2015-11-30 13:28 穿林度水 阅读(313) 评论(0) 推荐(0)