[jira] [Created] (IGNITE-9885) Issue in termination of GridWorkerFuture

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

[jira] [Created] (IGNITE-9885) Issue in termination of GridWorkerFuture

Anton Vinogradov (Jira)
Vladislav Pyatkov created IGNITE-9885:
-----------------------------------------

             Summary: Issue in termination of GridWorkerFuture
                 Key: IGNITE-9885
                 URL: https://issues.apache.org/jira/browse/IGNITE-9885
             Project: Ignite
          Issue Type: Improvement
            Reporter: Vladislav Pyatkov


Can to start a closure through method like {{GridClosureProcessor#runLocalSafe(java.lang.Runnable)}}

but does not possible to wait termination of the task after cancellation.

For understanding need to look at {{GridWorkerFuture.cancel}}. The method affix an {{interrupted}} flag on executed thread, but not wait task termination. Having an instance of GridWorkerFuture, you can not to await real termination of task.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)