Skip to content

Commit fbfe5c9

Browse files
committed
添加《初识Disruptor框架》一文。
1 parent 4c3a06f commit fbfe5c9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Disruptor/初识Disruptor框架.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,12 @@ Martin Fowler在自己网站上写了一篇LMAX架构的文章,LMAX是一种
1919
5. 使用内存屏障
2020
6. 序号栅栏机制
2121

22+
23+
2224
# 3 相关概念
2325

24-
![img.png](images/img.png)
26+
![img.png](https://github.com/yuanmabiji/Java-SourceCode-Blogs/blob/master/Disruptor/images/img.png?raw=true)
27+
2528

2629
**Disruptor**:是使用`Disruptor`框架的核心类,持有`RingBuffer`、消费者线程池、消费者集合`ConsumerRepository`和消费者异常处理器`ExceptionHandler`等引用;
2730

@@ -131,7 +134,7 @@ public class LongEventMain
131134
输出结果:
132135

133136

134-
![img_1.png](images/img_1.png)
137+
![img_1.png](https://github.com/yuanmabiji/Java-SourceCode-Blogs/blob/master/Disruptor/images/img_1.png?raw=true)
135138

136139
参考:https://lmax-exchange.github.io/disruptor/user-guide/index.html
137140

0 commit comments

Comments
 (0)