Re: [Sling Event] difference between JobConsumer and JobExecutor

2013-12-09 Thread Tommaso Teofili
got it, thanks a lot Victor and Carsten for the explanation. Regards, Tommaso 2013/12/10 Carsten Ziegeler > Hi > > as Victor points out JobExecutor provides more functionality for the > implementor (like tracking, logging etc). JobConsumer is the preceding > variant which I didn't want to depre

Re: [Sling Event] difference between JobConsumer and JobExecutor

2013-12-09 Thread Carsten Ziegeler
Hi as Victor points out JobExecutor provides more functionality for the implementor (like tracking, logging etc). JobConsumer is the preceding variant which I didn't want to deprecate right now as it allows you to implement a simpler interface if your implementation does not care about the additio

Re: [Sling Event] difference between JobConsumer and JobExecutor

2013-11-18 Thread Victor Saar
Hi Tommaso, JobExecutor has recently replaced JobConsumer while support for progress tracking was introduced. AFAIK JobConsumer should have been deprecated already. I guess the documentation was not yet updated accordingly. Ciao, Victor. On 15.11.13 14:39, "Tommaso Teofili" wrote: >Hi all, > >

[Sling Event] difference between JobConsumer and JobExecutor

2013-11-15 Thread Tommaso Teofili
Hi all, while working with Sling Event I noticed there's a somewhat similar API for consuming a Job defined in JobConsumer and JobExecutor. The API and javadoc for them are quite similar except that the executor also gets an ExecutorContext while executing the Job. Is there any guideline about wh