Return-Path: Delivered-To: apmail-activemq-commits-archive@www.apache.org Received: (qmail 98782 invoked from network); 7 Aug 2009 18:01:46 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 7 Aug 2009 18:01:46 -0000 Received: (qmail 34122 invoked by uid 500); 7 Aug 2009 18:01:53 -0000 Delivered-To: apmail-activemq-commits-archive@activemq.apache.org Received: (qmail 34093 invoked by uid 500); 7 Aug 2009 18:01:53 -0000 Mailing-List: contact commits-help@activemq.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@activemq.apache.org Delivered-To: mailing list commits@activemq.apache.org Received: (qmail 34084 invoked by uid 99); 7 Aug 2009 18:01:53 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 18:01:53 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 07 Aug 2009 18:01:51 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 85CF62388854; Fri, 7 Aug 2009 18:01:31 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit 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 -0000 To: commits@activemq.apache.org From: gtully@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090807180131.85CF62388854@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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); + } + }