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 2019/12/02 16:03:00 UTC
[jira] [Created] (JEXL-317) Support script cancellation through
less invasive API
Henri Biestro created JEXL-317:
----------------------------------
Summary: 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
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)