ScheduledFuture to CompletableFuture.

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

ScheduledFuture to CompletableFuture.

JSR166 Concurrency mailing list
Hello,

I have looked at some suggestions to work with existing ScheduledFuture code
and convert it into a CompletableFuture. This is needed so that a dependent task
can follow the main task. Is this a proper way to investigate this problem ?

I can't change the existing code due to some reasons here but I have to track
the next task based on the first basically to stop execution of the second if the first
one has exceptions.

Thanks,
Mohan

_______________________________________________
Concurrency-interest mailing list
[hidden email]
http://cs.oswego.edu/mailman/listinfo/concurrency-interest