jackrabbit-oak-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From thom...@apache.org
Subject svn commit: r1499421 - /jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java
Date Wed, 03 Jul 2013 14:30:46 GMT
Author: thomasm
Date: Wed Jul  3 14:30:46 2013
New Revision: 1499421

URL: http://svn.apache.org/r1499421
Log:
OAK-209 BlobStore: Use a cache size of 16 MB for now

Modified:
    jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java

Modified: jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java?rev=1499421&r1=1499420&r2=1499421&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java
(original)
+++ jackrabbit/oak/trunk/oak-mk/src/main/java/org/apache/jackrabbit/mk/blobs/AbstractBlobStore.java
Wed Jul  3 14:30:46 2013
@@ -87,7 +87,10 @@ public abstract class AbstractBlobStore 
      */
     private int blockSize = 2 * 1024 * 1024;
 
-    private Cache<AbstractBlobStore.BlockId, Data> cache = Cache.newInstance(this,
8 * 1024 * 1024);
+    /**
+     * The cache (16 MB).
+     */
+    private Cache<AbstractBlobStore.BlockId, Data> cache = Cache.newInstance(this,
16 * 1024 * 1024);
     
     /**
      * The byte array is re-used if possible, to avoid having to create a new,



Mime
View raw message