You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by mr...@apache.org on 2018/09/19 07:27:14 UTC
svn commit: r1841294 -
/jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md
Author: mreutegg
Date: Wed Sep 19 07:27:14 2018
New Revision: 1841294
URL: http://svn.apache.org/viewvc?rev=1841294&view=rev
Log:
OAK-301: Document Oak
Add note about persistent cache stat field with non meaningful values
Modified:
jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md
Modified: jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md?rev=1841294&r1=1841293&r2=1841294&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md (original)
+++ jackrabbit/oak/trunk/oak-doc/src/site/markdown/nodestore/persistent-cache.md Wed Sep 19 07:27:14 2018
@@ -116,6 +116,13 @@ unrelated to the diff cache type are ign
`journalCache="diff-cache"` and can be disabled the same way as the
regular persistent cache with a dash: `journalCache="-"`.
+### Cache statistics
+
+The persistent cache expose access statistics as `CacheStatsMBean` or via
+`ConsolidatedCacheStatsMBean`. Some of the fields exposed by the persistent
+caches do not have meaningful values. These are: `totalLoadTime`,
+`averageLoadPenalty`, `evictionCount`, `elementCount` and `maxTotalWeight`.
+
###Â Dependencies
Internally, the persistent cache uses a key-value store