Re: How to return ID of Ignite task to stop this task in the future?

2017-05-30 Thread Vladimir Ozerov
Yakov, q.1 is answered in separate dev-list topic "IgniteCompute async methods do not return ComputeTaskFuture". On Tue, May 30, 2017 at 12:57 PM, Yakov Zhdanov wrote: > Couple of questions to Igniters (cross-posting to dev list). > > 1. Why IgniteCompute does not return ComputeTaskFuture from

Re: How to return ID of Ignite task to stop this task in the future?

2017-05-30 Thread Yakov Zhdanov
Couple of questions to Igniters (cross-posting to dev list). 1. Why IgniteCompute does not return ComputeTaskFuture from all methods? 2. In GridGain 6.x and earlier there was a method GridComputeImpl#cancelTask(GridUuid sesId) - https://github.com/gridgain/gridgain/blob/cf56a35cbae442d11181f58004

Re: How to return ID of Ignite task to stop this task in the future?

2017-05-29 Thread Vadim Dedkov
I don't think that it is solution. I posted my comment there as well. 2017-05-29 15:20 GMT+03:00 Evgenii Zhuravlev : > Hi, > > question was answered here: https://stackoverflow.com/ > questions/44239558/how-to-return-id-of-ignite-task-to- > stop-this-task-in-the-future/442421

Re: How to return ID of Ignite task to stop this task in the future?

2017-05-29 Thread Evgenii Zhuravlev
Hi, question was answered here: https://stackoverflow.com/questions/44239558/how-to-return-id-of-ignite-task-to-stop-this-task-in-the-future/44242152#44242152 2017-05-29 13:02 GMT+03:00 Vadim Dedkov : > I want to broadcast some Apache Ignite task for some entity with ID > stored in DB of

How to return ID of Ignite task to stop this task in the future?

2017-05-29 Thread Vadim Dedkov
I want to broadcast some Apache Ignite task for some entity with ID stored in DB of my app. At some moment I want to stop this task (may be even after restart of my app). For this I think that I need to broadcast this task, somehow return UUID of this task, save this task UUID near entity ID in DB