Callback Based Selectors
Alan Bateman
Alan.Bateman at oracle.com
Wed Apr 25 14:49:39 UTC 2018
Any other comments on this API before I create the CSR?
-Alan
On 12/04/2018 20:06, Remi Forax wrote:
> Hi Alan,
>
> The API and the javadoc looks great !
> I've noticed that some NPEs are not documented in Selector.
>
> I do not know enough of that part of the internals to help more.
>
> cheers,
> Rémi
>
> ----- Mail original -----
>> De: "Alan Bateman" <Alan.Bateman at oracle.com>
>> À: "nio-dev" <nio-dev at openjdk.java.net>
>> Envoyé: Mercredi 11 Avril 2018 10:27:46
>> Objet: Re: Callback Based Selectors
>> 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.
>>
>> http://cr.openjdk.java.net/~alanb/8199433/webrev/
>>
>> 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