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

Chetan Mehrotra edited comment on OAK-6258 at 5/23/17 11:13 AM:
----------------------------------------------------------------

In async indexing the listener would be used to update the lease in persistent 
store. If the lease cannot be updated then commit would get failed due to merge 
error via CommitFailedException (see OAK-5893). So its not a passive listener. 
May be we use a different name?


was (Author: chetanm):
In async indexing the listener would be used to update the lease in persistent 
store. If the lease cannot be updated then commit would get failed due to merge 
error via CommitFailedException. So its not a passive listener. May be we use a 
different name?

> 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