ScheduledFuture to CompletableFuture.
Mohan Radhakrishnan via Concurrency-interest <[email protected]>
| Newsgroups | gmane.comp.java.jsr.166-concurrency |
|---|---|
| Message-ID | <CAOoXFP9_XUgULYbZsWrw_DtBTBnE8jExTjkzzEnbStTeE8oyOg@mail.gmail.com> |
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 [email protected] http://cs.oswego.edu/mailman/listinfo/concurrency-interest