On Tue, 2006-02-21 at 11:39 +0100, Tobias Bocanegra wrote:
> hi torgeir,
> there is a descriptor that provides you with this information:
>
> RepositoryImpl
> .
> .
> // names of well-known repository properties
> public static final String STATS_NODE_COUNT_PROPERTY =
> "jcr.repository.stats.nodes.count";
> public static final String STATS_PROP_COUNT_PROPERTY =
> "jcr.repository.stats.properties.count";
> .
> .
> so just call: repository.getDescriptor("jcr.repository.stats.nodes.count");
Nice, I didn't know. Thx.
Is it possible to control how this counter is incremented as well?
A node can be read many times when the content is not really read by a
person, eg by a content admin system redering a list of documents.
--
Torgeir Veimo <[EMAIL PROTECTED]>