[concurrency-interest] CompletableFuture with delay
peter.levart at gmail.com
Mon Aug 25 12:27:06 EDT 2014
On 08/25/2014 05:11 PM, Millies, Sebastian wrote:
>> >((ScheduledThreadPoolExecutor) scheduler).setRemoveOnCancelPolicy(true);
>> >By setting that, I think you get the timely clean-up of all the objects
>> >Regards, Peter
> Hello Peter,
> thank you for the detailed explanation.
> I suppose there is no way to avoid the downcast?
Unless you do something like this:
private static final ScheduledThreadPoolExecutor scheduler = new ScheduledThreadPoolExecutor(TIMER_THREADS);
More information about the Concurrency-interest