request for review: 7184932: Remove the temporary Selector usage in the NIO socket adapters (original) (raw)
Alan Bateman Alan.Bateman at oracle.com
Tue Aug 28 08:23:23 PDT 2012
- Previous message: request for review: 7184932: Remove the temporary Selector usage in the NIO socket adapters
- Next message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 28/08/2012 16:14, David M. Lloyd wrote:
What about generalizing that API a bit, and rolling it up to SelectableChannel with methods like: public abstract void await(int ops); public abstract void await(int ops, long time, TimeUnit unit); ...where ops must conform to validOps(). This way it becomes trivial for anyone to mix blocking and non-blocking APIs which is definitely a common API usage. I've chatted with Rob about a potential step along these lines. First step though is to eliminate the temporary Selector usage in the adapters.
-Alan
- Previous message: request for review: 7184932: Remove the temporary Selector usage in the NIO socket adapters
- Next message: Code Review Request: 7168172: (fs) Files.isReadable slow on Windows
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]