- Spring 5.0 Microservices(Second Edition)
- Rajesh R V
- 79字
- 2021-07-02 19:45:04
Processor
A Processor represents a processing stage--which is both a Subscriber and a Publisher, and MUST obey the contracts of both. A of can be chained by connecting a Publisher and Subscriber:
public interface Processor<T, R> extends Subscriber<T>,
Publisher<R> {
}
Reactor has two implementations for Publisher--Flux and Mono. Flux can emit 0...N events, whereas, Mono is for a single event (0...1). Flux is required when many data elements or a list of values is transmitted as Streams.
推薦閱讀
- C++面向對象程序設計(第三版)
- GAE編程指南
- Java多線程編程實戰指南:設計模式篇(第2版)
- HoloLens Beginner's Guide
- Java Web及其框架技術
- Building Mobile Applications Using Kendo UI Mobile and ASP.NET Web API
- CKA/CKAD應試教程:從Docker到Kubernetes完全攻略
- Android Native Development Kit Cookbook
- Scala程序員面試算法寶典
- ExtJS高級程序設計
- Instant Nancy Web Development
- Python 3 數據分析與機器學習實戰
- 高性能MVVM框架的設計與實現:San
- INSTANT EaselJS Starter
- Python編程基礎與數據分析