You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Henri Biestro (Jira)" <ji...@apache.org> on 2021/06/07 13:15:07 UTC

[jira] [Closed] (JEXL-317) Support script cancellation through less invasive API

     [ https://issues.apache.org/jira/browse/JEXL-317?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henri Biestro closed JEXL-317.
------------------------------

> Support script cancellation through less invasive API
> -----------------------------------------------------
>
>                 Key: JEXL-317
>                 URL: https://issues.apache.org/jira/browse/JEXL-317
>             Project: Commons JEXL
>          Issue Type: Improvement
>    Affects Versions: 3.1
>            Reporter: Henri Biestro
>            Assignee: Henri Biestro
>            Priority: Major
>             Fix For: 3.2
>
>
> WHAT: A way to cancel (aka stop interpretation) of a running script
> WHY: To integrate script cancellation in exiting applications/environments, it is often difficult and costly to refactor the script calling code to use callable and/or interrupt threads. Another less invasive mean is necessary.
> HOW: An atomic boolean reference that can be shared through an optional context interface will replace the (actual) volatile boolean that carries the interrupt status for the interpreter. This is the minimal disruption and the existing code logic does not change.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)