Top stories

Buzz | Video | Top stories | My News


NIO - Data flow made resource-efficient

This post is all about data flow in the ???New I/O?? framework. The data flow mechanism in NIO is essentially different from the ???old?? IO. There are no decorators to data, and the entire framework revolves around getting one thing done, and done really well: transferring data from an external source into the application or vice versa. In the last post I???ve described the buffers and put some emphasis on a couple of them. In this one, I???ll discuss the channels, which are the equivalents of the streams in the old IO, and the selector idea, which is taken from low-level languages such as C and brought into Java to boost performance.

Tags : java programming

You will be redirected to NIO - Data flow made resource-efficient, in 20 seconds.




Register now!

Registered users don't wait for redirections. Register now for free and browse your favorite tags easilly and fast.