[ 
https://issues.apache.org/jira/browse/OAK-6258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Chetan Mehrotra updated OAK-6258:
---------------------------------
    Attachment: OAK-6258-v2.patch

[updated patch|^OAK-6258-v2.patch] which uses an explicit interface 
ProgressListener to allow throwing a CommitFailedException.

[~mduerig] Please check updated patch as I need to also support propagating any 
CommitFailedException I cannot use the Function interface

> Allow passing in a Function to ProgressNotificationEditor
> ---------------------------------------------------------
>
>                 Key: OAK-6258
>                 URL: https://issues.apache.org/jira/browse/OAK-6258
>             Project: Jackrabbit Oak
>          Issue Type: Technical task
>          Components: store-spi
>            Reporter: Chetan Mehrotra
>            Assignee: Chetan Mehrotra
>            Priority: Minor
>             Fix For: 1.8
>
>         Attachments: OAK-6258-v1.patch, OAK-6258-v2.patch
>
>
> ProgressNotificationEditor currently takes a logger and wraps it as a Guava 
> Function. We should enhance it to take a java.util.Function instance also as 
> an alternative.
> This would allow plugging in custom handling of progress notification like 
> one backed by a meter



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to