You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ch...@apache.org on 2010/07/07 06:12:17 UTC
svn commit: r961161 -
/activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java
Author: chirino
Date: Wed Jul 7 04:12:17 2010
New Revision: 961161
URL: http://svn.apache.org/viewvc?rev=961161&view=rev
Log:
Adding more hawtdb configuration options
Modified:
activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java
Modified: activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java
URL: http://svn.apache.org/viewvc/activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java?rev=961161&r1=961160&r2=961161&view=diff
==============================================================================
--- activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java (original)
+++ activemq/sandbox/activemq-apollo-actor/activemq-dto/src/main/java/org/apache/activemq/apollo/dto/HawtDBStoreDTO.java Wed Jul 7 04:12:17 2010
@@ -32,6 +32,9 @@ public class HawtDBStoreDTO extends Stor
@XmlAttribute(name="directory", required=false)
public File directory;
+ @XmlAttribute(name="archive-directory", required=false)
+ public File archiveDirectory;
+
@XmlAttribute(name="index-flush-interval", required=false)
public long indexFlushInterval = 5 * 1000L;
@@ -39,7 +42,16 @@ public class HawtDBStoreDTO extends Stor
public long cleanupInterval = 30 * 1000L;
@XmlAttribute(name="journal-log-size", required=false)
- public int journalLogSize = 1024*1024*20;
+ public int journalLogSize = 1024*1024*64;
+
+ @XmlAttribute(name="journal-batch-size", required=false)
+ public int journalBatchSize = 1024*256;
+
+ @XmlAttribute(name="index-cache-size", required=false)
+ public int indexCacheSize = 5000;
+
+ @XmlAttribute(name="index-page-size", required=false)
+ public short indexPageSize = 512;
@XmlAttribute(name="fail-if-locked", required=false)
public boolean failIfLocked = false;