activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r802109 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
Date Fri, 07 Aug 2009 18:01:31 GMT
Author: gtully
Date: Fri Aug  7 18:01:31 2009
New Revision: 802109

URL: http://svn.apache.org/viewvc?rev=802109&view=rev
Log:
expose new options -  https://issues.apache.org/activemq/browse/AMQ-2338

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

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java?rev=802109&r1=802108&r2=802109&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
Fri Aug  7 18:01:31 2009
@@ -303,4 +303,37 @@
     public void setEnableJournalDiskSyncs(boolean enableJournalDiskSyncs) {
         this.letter.setEnableJournalDiskSyncs(enableJournalDiskSyncs);
     }
+    
+    /**
+     * Get the indexCacheSize
+     * @return the indexCacheSize
+     */
+    public int getIndexCacheSize() {
+        return this.letter.getIndexCacheSize();
+    }
+
+    /**
+     * Set the indexCacheSize
+     * @param indexCacheSize the indexCacheSize to set
+     */
+    public void setIndexCacheSize(int indexCacheSize) {
+        this.letter.setIndexCacheSize(indexCacheSize);
+    }
+    
+    /**
+     * Get the ignoreMissingJournalfiles
+     * @return the ignoreMissingJournalfiles
+     */
+    public boolean isIgnoreMissingJournalfiles() {
+        return this.letter.isIgnoreMissingJournalfiles();
+    }
+
+    /**
+     * Set the ignoreMissingJournalfiles
+     * @param ignoreMissingJournalfiles the ignoreMissingJournalfiles to set
+     */
+    public void setIgnoreMissingJournalfiles(boolean ignoreMissingJournalfiles) {
+        this.letter.setIgnoreMissingJournalfiles(ignoreMissingJournalfiles);
+    }
+
 }



Mime
View raw message