| 接口 | 说明 |
|---|---|
| AsynchronousSubscriber |
异步订阅消息的抽象接口。
|
| BigpipeMessageListener |
bigpipe消息接收后的后续处理消费抽象
|
| PipeletIdAwareBigpipeMessageListener |
bigpipe消息接收queu消息后的后续处理消费抽象
|
| 类 | 说明 |
|---|---|
| AsynchronousSubscriberBioImpl |
使用bio实现的订阅器
使用nio实现时很难控制超时,当网络环境不好时会发生丢包现象,这将导致socket无法读取数据,但从程序 的角度来看socket又是健康的,socket会被永远堵塞导致线程不再工作。
|
Copyright © 2017. All rights reserved.