non-blocking I/O
https://en.wikipedia.org/wiki/New_I/O_(Java)
zh.wikipedia.org/wiki/Java_NIO
Java NIO API提供在java.nio套件或其子套件中。
- 緩衝區的基本資料類型
- 字元集的編碼器和解碼器
- 基於Perl風格的正則表達式(在 java.util.regex )
- 通道(Channels),一個新的原生抽象 I/O
- 支援鎖定(Lock)和記憶體映射的檔案介面,檔案Szie最多可以存取到Integer.MAX_VALUE(2GB)
- 多工,非阻塞式I/O的可扩展性伺服器
The APIs of NIO were designed to provide access to the low-level I/O operations of modern operating systems. Although the APIs are themselves relatively high-level, the intent is to facilitate an implementation that can directly use the most efficient operations of the underlying platform.
The Java NIO APIs are provided in the java.nio package and its subpackages. The documentation by Oracle identifies these features.
- Buffers for data of primitive types
- Character set encoders and decoders
- A pattern-matching facility based on Perl-style regular expressions (in package java.util.regex)
- Channels, a new primitive I/O abstraction
- A file interface that supports locks and memory mapping of files up to Integer.MAX_VALUEbytes (2 GiB)
- A multiplexed, non-blocking I/O facility for writing scalable servers
non-blocking I/O的更多相关文章
- blocking and unblocking mechanism for linux drivern code
		概念: 1> 阻塞操作 是指在执行设备操作时,若不能获得资源,则挂起进程直到满足操作条件后再进行操作.被挂起的进程进入休眠,被从调度器移走,直到条件满足: 2> 非阻塞操作 在 ... 
- 【异常】No ManagedConnections available within configured blocking timeout
		Caused by: org.jboss.util.NestedSQLException: No ManagedConnections available within configured bloc ... 
- SSRS ReportServer Database 的Blocking问题
		我们监控SQL SERVER数据库的阻塞情况时,老是收到在SSRS 里面出现SQL阻塞情况,刚开始由于事情多,没有太关注ReportServerTempDB里面的会话阻塞情况,但是老是出现这种频繁阻塞 ... 
- Socket Receive 避免 Blocking
		我们知道 Socket Blocking 属性默认true . 表明Socket 处于同步调用 , Connect , 或 Send , Receive 需等待动作 完成才能继续执行. 有一种应用场景 ... 
- Atitit  五种IO模型attilax总结 blocking和non-blocking synchronous IO和asynchronous I
		Atitit 五种IO模型attilax总结 blocking和non-blocking synchronous IO和asynchronous I 1.1. .3 进程的阻塞1 1.2. 网络 ... 
- Java Blocking Queue
		//Listing 8-1. The Blocking Queue Equivalent of Chapter 3’s PC Application import java.util.concurre ... 
- Ehcache(2.9.x) - API Developer Guide, Blocking and Self Populating Caches
		About Blocking and Self-Populating Caches The net.sf.ehcache.constructs package contains some applie ... 
- SQL Server: Difference Between Locking, Blocking and Dead Locking
		Like ever, today’s article of Pinal Dave was interesting and informative. After, our mutual discussi ... 
- New Lantern Version Available Upgrade Lantern for improved blocking resistance!
		New Lantern Version Available Upgrade Lantern for improved blocking resistance! The new version: is ... 
- linux select 与 阻塞( blocking ) 及非阻塞 (non blocking)实现io多路复用的示例
		除了自己实现之外,还有个c语言写的基于事件的开源网络库:libevent http://www.cnblogs.com/Anker/p/3265058.html 最简单的select示例: #incl ... 
随机推荐
- configure: error: C++ preprocessor "/lib/cpp" fails sanity check
			configure: error: C++ preprocessor "/lib/cpp" fails sanity check 参考链接: error: C++ preproce ... 
- .Net Core中的配置文件源码解析
			一.配置简述 之前在.Net Framework平台开发时,一般配置文件都是xml格式的Web.config,而需要配置其他格式的文件就需要自己去读取内容,加载配置了..而Net Core支持从命令行 ... 
- jenkins发布普通项目、配置自动上线自动部署
			1.以root用户运行jenkins是不专业的 刚开始用jenkins时用jenkins这个普通用户运行程序,始终无法连接到gitlab,报错如下: 先是把修改jenkins上的git路径,将git修 ... 
- SRM1154--Topcoder初体验
			SRM 711 DIV2 <br > 在frank_c1的帮助下,辣鸡Xiejiadong也开始做Topcoder辣...... <br > 这算是一次Topcoder的初体验 ... 
- 邁向IT專家成功之路的三十則鐵律 鐵律二十七 IT人夢想之道-實踐
			有句話說:「人因夢想而偉大」.身為IT的您不知道夢想為何?是希望能夠環遊世界.開一間咖啡廳.買一部法拉利跑車.買一部重機.中大樂透頭彩.娶心目中的女神當老婆,還是只要明天還能活著就好了.無論您的夢想為 ... 
- Android自定义Dialog效果
			上面是效果图. 使用方法: NiftyDialogBuilder dialogBuilder=NiftyDialogBuilder.getInstance(this); dialogBuilder . ... 
- 【spring mvc】后台的API,测试中,总提示接口实体的某一个字段不能为null,但是明明给值了还提示不能为空
			实体是这三个字段 接口的实现类Controller 前台测试给值 依旧报错 解决方法: 需要添加@RequestBody注解 
- iOS --SKView类
			SKView类 继承自 UIView:UIResponder:NSObject 符合 NSCoding(UIView)UIAppearance(UIView)UIAppearanceContainer ... 
- BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第12章节--SP 2013中远程Event Receivers  远程Event Receivers App级别生命周期
			BEGINNING SHAREPOINT® 2013 DEVELOPMENT 第12章节--SP 2013中远程Event Receivers 远程Event Receivers App级别生命周期 ... 
- Flash如何为文字描边
			可以使用墨水瓶工具,但是要先把文字打散(可以打散之后再组合起来)粗细和颜色都可以调,粗细就是笔触,颜色就是前景色(边框颜色) 
