Java NIO 选择器(Selector)与通道(Channel) 原理

NIO底层实现poll, epoll(jdk1.5update 9  和jdk1.6  仅限于 linux 2.6以上 )

Java NIO 选择器(Selector) 知识预备 (linux epoll)   http://www.goldendoc.org/2011/07/java-nio-selector-pre-linux-epoll/

Channel & FileDescriptor  http://www.goldendoc.org/2011/08/channel-filedescriptor/

Java NIO 选择器(Selector)与通道(Channel)_1 (linux poll & epoll 回顾) http://www.goldendoc.org/2011/07/java-nio-%E9%80%89%E6%8B%A9%E5%99%A8%E4%B8%8E%E9%80%9A%E9%81%93_1-%EF%BC%88linux-poll-epoll-%E5%9B%9E%E9%A1%BE%EF%BC%89/

Java NIO 选择器(Selector)与通道(Channel)_2(选择器的创建过程)http://www.goldendoc.org/2011/07/java-nio-%E9%80%89%E6%8B%A9%E5%99%A8%E4%B8%8E%E9%80%9A%E9%81%93_2%EF%BC%88%E9%80%89%E6%8B%A9%E5%99%A8%E7%9A%84%E5%88%9B%E5%BB%BA%E8%BF%87%E7%A8%8B%EF%BC%89/


Java NIO 选择器(Selector)与通道(Channel)_3(选择器处理注册的过程)  http://www.goldendoc.org/2011/07/java-nio-%E9%80%89%E6%8B%A9%E5%99%A8%E4%B8%8E%E9%80%9A%E9%81%93_3%EF%BC%88%E9%80%89%E6%8B%A9%E5%99%A8%E5%A4%84%E7%90%86%E6%B3%A8%E5%86%8C%E7%9A%84%E8%BF%87%E7%A8%8B%EF%BC%89/

Java NIO 选择器(Selector)与通道(Channel)_4(选择器处理反注册的过程) http://www.goldendoc.org/2011/07/java-nio-%E9%80%89%E6%8B%A9%E5%99%A8%E4%B8%8E%E9%80%9A%E9%81%93_4%EF%BC%88%E9%80%89%E6%8B%A9%E5%99%A8%E5%A4%84%E7%90%86%E5%8F%8D%E6%B3%A8%E5%86%8C%E7%9A%84%E8%BF%87%E7%A8%8B%EF%BC%89/


Java NIO 选择器(Selector)与通道(Channel)_5(选择器的选择过程) http://www.goldendoc.org/2011/07/java-nio-%E9%80%89%E6%8B%A9%E5%99%A8selector%E4%B8%8E%E9%80%9A%E9%81%93channel_5%EF%BC%88%E9%80%89%E6%8B%A9%E5%99%A8%E7%9A%84%E9%80%89%E6%8B%A9%E8%BF%87%E7%A8%8B%EF%BC%89/

Java NIO 那些躲在角落的细节 http://www.goldendoc.org/2011/08/java-nio-small-things/

转载于:https://www.cnblogs.com/ajian005/archive/2011/12/01/2753758.html

你可能感兴趣的:(Java NIO 选择器(Selector)与通道(Channel) 原理)