Press "Enter" to skip to content

Java NIO 系列学习 07 - Selector

Java NIO Selector 是一个可以选择一个或多个 Channel 实例、确定哪个 Channel 处于可写或可读状态的组件。
通过这种方式,一个线程 …