jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mreut...@apache.org
Subject svn commit: r1492128 - in /jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk: MongoDocumentStore.java MongoMK.java
Date Wed, 12 Jun 2013 09:55:27 GMT
Author: mreutegg
Date: Wed Jun 12 09:55:26 2013
New Revision: 1492128

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

Modified:
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoDocumentStore.java
    jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoMK.java

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoDocumentStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoDocumentStore.java?rev=1492128&r1=1492127&r2=1492128&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoDocumentStore.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoDocumentStore.java
Wed Jun 12 09:55:26 2013
@@ -82,7 +82,7 @@ public class MongoDocumentStore implemen
         // TODO expire entries if the parent was changed
         nodesCache = CacheBuilder.newBuilder()
                 .weigher(builder.getWeigher())
-                .recordStats()
+                //.recordStats() FIXME: OAK-863
                 .maximumWeight(builder.getDocumentCacheSize())
                 .build();
         

Modified: jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoMK.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoMK.java?rev=1492128&r1=1492127&r2=1492128&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoMK.java
(original)
+++ jackrabbit/oak/trunk/oak-mongomk/src/main/java/org/apache/jackrabbit/mongomk/MongoMK.java
Wed Jun 12 09:55:26 2013
@@ -226,12 +226,12 @@ public class MongoMK implements MicroKer
         nodeCache = CacheBuilder.newBuilder()
                         .weigher(builder.getWeigher())
                         .maximumWeight(builder.getNodeCacheSize())
-                        .recordStats()
+                        // .recordStats() FIXME: OAK-863
                         .build();
 
         nodeChildrenCache =  CacheBuilder.newBuilder()
                         .weigher(builder.getWeigher())
-                        .recordStats()
+                        //.recordStats() FIXME: OAK-863
                         .maximumWeight(builder.getChildrenCacheSize())
                         .build();
         



Mime
View raw message