Callback Based Selectors

Alan Bateman Alan.Bateman at
Mon Jun 4 08:38:25 UTC 2018

Any other comments on the API additions before I create the CSR?


On 11/04/2018 09:27, Alan Bateman wrote:
> I've re-based the patch that adds select(Consumer<SelectionKey>) and 
> friends. This follows the changes for JDK-8201315 so the action is 
> invoked while synchronized on the selector and the selected-key set, 
> not the key set for registrations.
> There's a still a bit of work to do on the Solaris event port 
> implementation related to error recovery, also additional tests will 
> be needed, but otherwise I think all the interactions with the 
> existing spec have been worked out.
> -Alan

More information about the nio-dev mailing list