摘要: 1、Stream 与 Channel stream 不会自动缓冲数据,channel 会利用系统提供的发送缓冲区、接收缓冲区(更为底层) stream 仅支持阻塞 API,channel 同时支持阻塞、非阻塞 API,网络 channel 可配合 selector 实现多路复用 二者均为全双工,即读 阅读全文
posted @ 2023-01-04 14:06 博学谷狂野架构师 阅读(729) 评论(0) 推荐(0)