| 接口 | 说明 |
|---|---|
| EventEndClear |
事件对象执行结束时进行内部数据清除,方便gc
|
| 类 | 说明 |
|---|---|
| Consumer<T> |
消费者 分两种方式 重复消费/不重复消费
Disruptor.handleEventsWith 为 重复消费
Disruptor.handleEventsWithWorkerPool 为 不重复消费
|
| DefaultEventFactory |
默认事件工厂
|
| DisruptorManage |
Disruptor管理
|
| Event<T> |
定义事件
事件(Event)就是通过 Disruptor 进行交换的数据类型
|
| Producer<T> |
生产者
|
Copyright © 2019. All rights reserved.