[
https://issues.apache.org/jira/browse/DROIDS-40?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ryan McKinley updated DROIDS-40:
--------------------------------
Attachment: DROIDS-40-worker-monitor.patch
Here is a patch that adds a WorkMonitor interface:
{code:java}
public interface WorkMonitor<T extends Task> {
void beforeExecute( final T task, final Worker<T> worker );
void afterExecute( final T task, final Worker<T> worker, Exception ex );
}
{code}
This then lets an implementaion do something with it. A simple version could
just keep stuff in a Map -- another version may register the info with JMX.
This patch also includes a rough display in the wicket project.
> Add some way to inspect / manage the current tasks that are running
> -------------------------------------------------------------------
>
> Key: DROIDS-40
> URL: https://issues.apache.org/jira/browse/DROIDS-40
> Project: Droids
> Issue Type: New Feature
> Components: core
> Reporter: Ryan McKinley
> Attachments: DROIDS-40-worker-monitor.patch
>
>
> We need some way to ask what tasks are currently running. Ideally we would
> also have a way to stop/cancel each task too.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.