摘要: disruptor提供了线程间消息通信机制,通常会拿它和jdk中的blockingQueue作比较,blockingQueue使用了ReentrantLock。 下例的逻辑是,生产500个ValueEvent,先后由toDbHandler和businessHandler消费事件。 normalTes 阅读全文
posted @ 2017-10-03 22:06 holoyong 阅读(364) 评论(0) 推荐(0) 编辑