![](https://img-blog.csdnimg.cn/20201014180756913.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
reactor
文章平均质量分 60
合肥东仔
这个作者很懒,什么都没留下…
展开
-
Reactor详解
代码// 生成过程Flux<List<String>> flux= Flux.just("您好(asd)","世界(sdf)","中国(axv)","香港(tyu)","台湾(hupa)","澳门(bnm)") .filter(s->s.contains("a")) .map(s-> s+"-aaa") .flatMap(s->Flux.just(s))原创 2021-06-15 09:29:54 · 158 阅读 · 0 评论 -
NIO & Reactor
NIO 编程案例服务端import java.io.IOException;import java.net.InetSocketAddress;import java.nio.ByteBuffer;import java.nio.channels.SelectionKey;import java.nio.channels.Selector;import java.nio.channels.ServerSocketChannel;import java.nio.channels.Socket原创 2021-05-12 11:53:34 · 108 阅读 · 0 评论