Generic parameter of StructuredTaskScope
Alan Bateman
Alan.Bateman at oracle.com
Sun May 14 05:15:23 UTC 2023
On 13/05/2023 12:04, Attila Kelemen wrote:
> :
>
> But otherwise yes, it is a bit strange that ShutdownOnFailure denies
> me the option when it only saves me two characters "<>", and if saving
> character is the goal, then they could have factory methods (and these
> two classes don't even have to be directly exposed, since they are
> final anyway).
These classes are exposed as they define the APIs for processing the
outcome of the policies that they implement. It doesn't make sense to
have them on the base class.
-Alan
More information about the loom-dev
mailing list