Whatever happened to ExecutorService.withDeadline?

Cay Horstmann cay at horstmann.com
Fri Jan 21 17:38:37 UTC 2022


Thanks, I just discovered that a few minutes ago as well. And I 
discovered that in the future I can avoid embarrassment by clicking on 
https://download.java.net/java/early_access/loom/docs/api/preview-list.html 
  :-)

Cheers,

Cay

On 21/01/2022 18:31, Alan Bateman wrote:
> On 21/01/2022 16:13, Cay Horstmann wrote:
>> Hi, I am listening to Heinz Kabutz' presentation at JChampionsConf, 
>> and he mentioned that ExecutorService.withDeadline is not in the 
>> current API. Why is that? Timing out a It seems a reasonable thing to 
>> want to do.
> 
> Did the presentation show StructuredExecutor? That's the 
> (work-in-progress) API for structured. It defines the joinUntil method 
> to wait up to a given deadline.
> 
> -Alan

-- 

Cay S. Horstmann | http://horstmann.com | mailto:cay at horstmann.com


More information about the loom-dev mailing list