jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig (JIRA) <j...@apache.org>
Subject [jira] [Commented] (OAK-1863) Generic operation tasks should be able to return specific results
Date Tue, 08 Jul 2014 14:23:04 GMT

    [ https://issues.apache.org/jira/browse/OAK-1863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14054978#comment-14054978

Michael Dürig commented on OAK-1863:

Fixed at http://svn.apache.org/r1608797 by parametrising {{ManagementOperation}} on the type
of the passed task ({{Callable}}).

> Generic operation tasks should be able to return specific results
> -----------------------------------------------------------------
>                 Key: OAK-1863
>                 URL: https://issues.apache.org/jira/browse/OAK-1863
>             Project: Jackrabbit Oak
>          Issue Type: Improvement
>          Components: core
>            Reporter: Michael Dürig
>            Assignee: Michael Dürig
>              Labels: monitoring
>             Fix For: 1.1
> The generic interface for operation management tasks added with OAK-1160 does so far
not provide a way for specific tasks to return a value apart from a genetic status. With the
consistency checking we are starting to add (OAK-1448) such a needs start to arise. 
> To address this I propose to change type of the tasks that can be passed to the constructor
of {{ManagementOperation}}. The result type of the task (i.e. {{Callable}}) should change
from {{Long}} to some generic container, which would carry the result of the task. 

This message was sent by Atlassian JIRA

View raw message