felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FELIX-2115) The api offers no way to have a timeout or cancel the resolution if it takes too long
Date Mon, 22 Feb 2010 02:02:29 GMT

    [ https://issues.apache.org/jira/browse/FELIX-2115?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12836487#action_12836487
] 

Richard S. Hall commented on FELIX-2115:
----------------------------------------

I am not sure we can go with a Future, unless we roll our own. However, some functionality
in this area sounds reasonable. David Savage (I think) asked for something like this in the
framework resolver too.

> The api offers no way to have a timeout or cancel the resolution if it takes too long
> -------------------------------------------------------------------------------------
>
>                 Key: FELIX-2115
>                 URL: https://issues.apache.org/jira/browse/FELIX-2115
>             Project: Felix
>          Issue Type: Improvement
>          Components: Bundle Repository (OBR)
>            Reporter: Guillaume Nodet
>
> One way would be either to add some methods to the Resolver such as:
>    boolean resolve(long timeout)
>    void cancel();
> I'd be much happier if we could use a Future instead.
>    Future<Boolean> resolve();
> This would make it easier for the user because he doesn't have to start a thread on its
own.
> However this breaks compatibility.
> We could therefore use something like:
>    Future<Boolean> startResolve();

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


Mime
View raw message