activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chir...@apache.org
Subject svn commit: r961154 - /activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala
Date Wed, 07 Jul 2010 04:11:35 GMT
Author: chirino
Date: Wed Jul  7 04:11:35 2010
New Revision: 961154

URL: http://svn.apache.org/viewvc?rev=961154&view=rev
Log:
Configure  a big read cache on the index.

Modified:
    activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala

Modified: activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala?rev=961154&r1=961153&r2=961154&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala
(original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-hawtdb/src/main/scala/org/apache/activemq/broker/store/hawtdb/HawtDBClient.scala
Wed Jul  7 04:11:35 2010
@@ -159,6 +159,7 @@ class HawtDBClient(hawtDBStore: HawtDBSt
       pageFileFactory.setSync(true)
       pageFileFactory.setUseWorkerThread(true)
       pageFileFactory.setPageSize(512.toShort)
+      pageFileFactory.setCacheSize((1024*1024*20)/512); // 20 meg page cache 
       pageFileFactory.open()
 
       val initialized = withTx { tx =>



Mime
View raw message