Hi, To do this you can execute tasks asynchronously(for example, runAsync and others). Async operations return IgniteFuture, which can be canceled.
Also, I think that services fit better for this use case - there you can run your code in the background and deploy/undeploy them when a code change is needed. For an upgrade, UriDeploymentSpi can be used: https://apacheignite.readme.io/docs/service-grid#service-updates-redeployment Evgenii вс, 24 мая 2020 г. в 21:02, [email protected] < [email protected]>: > Hi Experts, > > Say I have a while (true) task, which help monitoring/handling the MQ > messages. > Once I need change the logic, how I redeploy the task? how I cancel this > task and let the cluster using the new logic jar? > > Do I need restart all cluster nodes? But my cluster nodes have other tasks > running. > > Thanks a lot. > > > > -- > Sent from: http://apache-ignite-users.70518.x6.nabble.com/ >
