disruptor的EventHandler 作用是什么?

disruptor的EventHandler 作用是什么?

需要从生产者Producer和消费者Consumer模式角度理解,或者说从观察者模式理解,EventHandler 是一种Consumer,是一种被观察者激活的Action。