You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by shepy <vl...@yahoo.com> on 2007/09/13 13:24:25 UTC
node LRU
Hi,
I want to create something like LRU list of nodes. When node in
repository is edited or read, it will be added to LRU list. Is there some
way to determine if node (e.g file node) is read. My initial thought was to
implement event listener but there is no NODE_READ event. Other possibility
is AccessManager...
Thanks for help.
--
View this message in context: http://www.nabble.com/node-LRU-tf4435099.html#a12652963
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.
Re: node LRU
Posted by Marcel Reutegger <ma...@gmx.net>.
there's a decorator layer available in the jcr-ext contrib, which might be
helpful. The TrussDecoratorFactory example logs all calls to Node.getNode(s)
methods. See
https://svn.apache.org/repos/asf/jackrabbit/trunk/contrib/jcr-ext/src/main/java/org/apache/jackrabbit/decorator/TrussDecoratorFactory.java
regards
marcel
shepy wrote:
> Hi,
>
> I want to create something like LRU list of nodes. When node in
> repository is edited or read, it will be added to LRU list. Is there some
> way to determine if node (e.g file node) is read. My initial thought was to
> implement event listener but there is no NODE_READ event. Other possibility
> is AccessManager...
>
> Thanks for help.