activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r741136 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Date Thu, 05 Feb 2009 15:29:01 GMT
Author: gtully
Date: Thu Feb  5 15:29:00 2009
New Revision: 741136

URL: http://svn.apache.org/viewvc?rev=741136&view=rev
Log:
pass asyncWrite flag to page file

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java?rev=741136&r1=741135&r2=741136&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/MessageDatabase.java
Thu Feb  5 15:29:00 2009
@@ -1168,6 +1168,7 @@
 
     private PageFile createPageFile() {
         PageFile pf = new PageFile(directory, "db");
+        pf.setEnableAsyncWrites(!isSyncWrites());
         return pf;
     }
 



Mime
View raw message