]
Bela Ban updated JGRP-1355:
---------------------------
Fix Version/s: 3.1
(was: 3.0)
Enhance ExecutionRunner to allow for better extensibility and safe
shut down
----------------------------------------------------------------------------
Key: JGRP-1355
URL:
https://issues.jboss.org/browse/JGRP-1355
Project: JGroups
Issue Type: Enhancement
Affects Versions: 2.12.1
Reporter: William Burns
Assignee: Bela Ban
Fix For: 3.1
Original Estimate: 1 day
Remaining Estimate: 1 day
The ExecutionRunner class which is used for running distributed tasks currently
doesn't allow for nice extensibility. This is caused due to no real hook points or
callbacks to add additional local functionality if a user desires. One such functionality
may be to automatically rollback or commit a local database transaction after the task is
finished. This would allow for calling code to not have to care about transactional
awareness and be more usuable across a target suite. Also today there is no nice way of
shutting down an ExecutionRunner, it is done today purely with interrupts, and if a task
is currently running this will receive an interrupt request which could be problematic.
We should have a way so that when an ExecutionRunner is interrupted that it will shutdown
only after finishing the current request or immediately if there is no request.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: