jackrabbit-oak-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Dürig <mdue...@apache.org>
Subject Re: commit hooks and indexing
Date Wed, 27 Feb 2013 09:25:10 GMT


On 15.2.13 9:27, Jukka Zitting wrote:
> Hi,
>
> On Fri, Feb 15, 2013 at 11:20 AM, Tommaso Teofili <teofili@adobe.com> wrote:
>> maybe it would be nice to explicitly design the synchronous / asynchronous execution
of an hook
>
> An Observer is essentially an asynchronous hook.

Right but it might make sense to factor out an API based on these hooks 
that frees index implementations of having to worry which hook to use. 
Thus index implementation wouldn't need to worry about the hooks but 
rather about a contract specifying how thy see content changes.

Michael


>
> BR,
>
> Jukka Zitting
>

Mime
View raw message