incubator-droids-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thorsten Scherler (JIRA)" <>
Subject [jira] Closed: (DROIDS-67) Better control of the finished task
Date Mon, 26 Oct 2009 11:42:59 GMT


Thorsten Scherler closed DROIDS-67.

    Resolution: Fixed

thanks javier

> Better control of the finished task
> -----------------------------------
>                 Key: DROIDS-67
>                 URL:
>             Project: Droids
>          Issue Type: Improvement
>          Components: core
>            Reporter: Javier Puerto
>         Attachments: awaitTermination.patch
> The interface TaskMaster defines the method:
> void awaitTermination(long timeout, TimeUnit unit) throws InterruptedException;
> But the implementation of the MultiThreadedTaskMaster is based on ExecutorService and
this have the same method returning a boolean value.
> This kind of behaviour is better because in the case of you want to made two MultiThread
Droid and one is the consumer from the other, you can't control if the first finished the
work (producer) to run the second (consumer).
> Attached is a patch that solves the problem, is implemented also on SequentialTaskMaster.
> Salu2.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message