EE Concurrency Managed Executors configuration includes an optional attribute that defines a runtime threshold to consider tasks to be "hung", i.e. tasks that for whatever reason didn't terminate execution in expected time, and on EAP7-1175 we will expose the number of such tasks as stats, but customers want extra functionality to force the termination of such tasks too (see
JBEAP-13779), which will be provided by this RFE.
In high level the new functionality should be:
- add a new attribute to the executor's configuration, which will setup a periodic task to automatically force termination of any hung task running in the executor.
- add a new management op that may be invoked to manually force termination of any hung task running in the executor.