This doesn't make any sense to me.
NIO and streams don't work well together.
NIO is based around a fixed size buffers - this is a quite different way of working to the
old stream based io that most people are used to.
As I said earlier in this thread I would be suprised if you can create an API that works
equally well for blocking and NIO.
If we want to get the best performance the API must expose access to the underlying
buffers. There's no way around this without sacrificing performance which is not an
option IMHO.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3980195#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...