jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: NodeIterator very slow
Date Mon, 05 Feb 2007 09:07:48 GMT
Where do you get the NodeIterator from?

http://www.day.com/maven/jsr170/javadocs/jcr-1.0/javax/jcr/class-use/NodeIterator.html

You can also try to get a thread dump from the java process while it runs 
through the iterator. that will give you a hint where the time is spent.

regards
  marcel

Sridhar Raman wrote:
> I have a NodeIterator variable iter with 2000 elements. When I do an
> iter.hasNext() or an iter.next(), the program takes a very long time to
> execute the call.
> 
> Is there any solution? I am not using jackrabbit 1.2.1 yet. Should I? Would
> it help?
> 
> Thanks,
> Sridhar
> 

Mime
View raw message