You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-dev@jackrabbit.apache.org by Tommaso Teofili <to...@gmail.com> on 2014/07/11 15:15:45 UTC

Item#refresh vs Session#refresh

Hi all,

While going through some logs of a repository using Oak I did found a bunch
of warns like this:

11.07.2014 15:10:58.788 *WARN* [qtp1450933858-233]
org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes
Session#refresh!

My question is: does this pose any possible performance issue or
disadvantage when compared to using Session#refresh directly?

Thanks,

Tommaso

Re: Item#refresh vs Session#refresh

Posted by Michael Dürig <md...@apache.org>.

On 11.7.14 3:15 , Tommaso Teofili wrote:
> Hi all,
>
> While going through some logs of a repository using Oak I did found a bunch
> of warns like this:
>
> 11.07.2014 15:10:58.788 *WARN* [qtp1450933858-233]
> org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes
> Session#refresh!
>
> My question is: does this pose any possible performance issue or
> disadvantage when compared to using Session#refresh directly?

Apart from the logged warning, no.

Michael

Re: Item#refresh vs Session#refresh

Posted by Jörg Hoh <jh...@googlemail.com>.
Hi Tommaso,

See http://jackrabbit.apache.org/oak/docs/differences.html, quite at the
top.

Jörg


2014-07-11 15:15 GMT+02:00 Tommaso Teofili <to...@gmail.com>:

> Hi all,
>
> While going through some logs of a repository using Oak I did found a bunch
> of warns like this:
>
> 11.07.2014 15:10:58.788 *WARN* [qtp1450933858-233]
> org.apache.jackrabbit.oak.jcr.session.ItemImpl Item#refresh invokes
> Session#refresh!
>
> My question is: does this pose any possible performance issue or
> disadvantage when compared to using Session#refresh directly?
>
> Thanks,
>
> Tommaso
>



-- 
Cheers,
Jörg Hoh,

http://cqdump.wordpress.com
Twitter: @joerghoh