jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexandru Popescu ☀" <the.mindstorm.mailingl...@gmail.com>
Subject Re: Fastest way to check if any version got incremented for a specific node
Date Fri, 27 Jul 2007 18:11:46 GMT
On 7/27/07, Sudhan <s.kanade@gmail.com> wrote:
> Hi,
> I have an application, which requires to present all the version details for
> each node. Now the thing is every time when some body hits on the specific
> node (GUI) it should fetch all its version history and show all the version
> nodes in hiearchy(as a TREE Structure). While doing this operation it
> requires lot of overhead in fetching each and every version node. ie. the
> time taken to pull out all the version is pretty high if the version history
> is too big.
> Now is there a way that i can just easily count number of version nodes
> without actually traversing the version history. This way  i will just go
> and compare this count and if it is more then existing one then and then it
> will fetch it from repository else i can display the detail tree of versions
> from the cached data which i already have it.
> Any help is really appreciated.
> Sudhan

Sudhan, I think you may need to make a distinction between fetching
all versions information (which shouldn't be expensive) and fetching
all versions (which may be expensive depending on how many versions
there are and the size of each version).

.w( the_mindstorm )p.

> --
> View this message in context: http://www.nabble.com/Fastest-way-to-check-if-any-version-got-incremented-for-a-specific-node-tf4159396.html#a11834192
> Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message