2016年3月19日
摘要: 通过分析如下代码,大致了解Disruptor的原理 1. 第2行代码 EventFactory<LongEvent> eventFactory = new LongEventFactory(); 数据工厂类构造单个数据,disruptor使用此工厂类预分配数据。 2. 第5行代码 final Dis 阅读全文
posted @ 2016-03-19 14:16 5211314 阅读(316) 评论(0) 推荐(0)
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-03-19 00:10 5211314 阅读(6) 评论(0) 推荐(0)