jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chet...@apache.org
Subject svn commit: r1499311 - /jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java
Date Wed, 03 Jul 2013 10:27:37 GMT
Author: chetanm
Date: Wed Jul  3 10:27:37 2013
New Revision: 1499311

URL: http://svn.apache.org/r1499311
Log:
OAK-863 - Enable stats for various caches used in Oak by default

Enabling stats for KernalNodeStore

Modified:
    jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java

Modified: jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java?rev=1499311&r1=1499310&r2=1499311&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java
(original)
+++ jackrabbit/oak/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/kernel/KernelNodeStore.java
Wed Jul  3 10:27:37 2013
@@ -80,6 +80,7 @@ public class KernelNodeStore extends Abs
         };
         this.cache = CacheBuilder.newBuilder()
                 .maximumWeight(cacheSize)
+                .recordStats()
                 .weigher(weigher)
                 .build(new CacheLoader<String, KernelNodeState>() {
                     @Override



Mime
View raw message