activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cshan...@apache.org
Subject activemq git commit: https://issues.apache.org/jira/browse/AMQ-6377
Date Wed, 27 Jul 2016 21:34:07 GMT
Repository: activemq
Updated Branches:
  refs/heads/master 7ac89adf4 -> 498e2184b


https://issues.apache.org/jira/browse/AMQ-6377

Adding new setters to KahaDBPersistenceAdapter


Project: http://git-wip-us.apache.org/repos/asf/activemq/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq/commit/498e2184
Tree: http://git-wip-us.apache.org/repos/asf/activemq/tree/498e2184
Diff: http://git-wip-us.apache.org/repos/asf/activemq/diff/498e2184

Branch: refs/heads/master
Commit: 498e2184be8ade23e3b1c65c5f13076ae582b493
Parents: 7ac89ad
Author: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Authored: Wed Jul 27 17:32:21 2016 -0400
Committer: Christopher L. Shannon (cshannon) <christopher.l.shannon@gmail.com>
Committed: Wed Jul 27 17:33:45 2016 -0400

----------------------------------------------------------------------
 .../store/kahadb/KahaDBPersistenceAdapter.java  | 31 +++++++++++++++++++-
 1 file changed, 30 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq/blob/498e2184/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
----------------------------------------------------------------------
diff --git a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
index e5d268c..428646d 100644
--- a/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
+++ b/activemq-kahadb-store/src/main/java/org/apache/activemq/store/kahadb/KahaDBPersistenceAdapter.java
@@ -433,7 +433,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
 
     /**
      * Get the enableJournalDiskSyncs
-     *
+     * @deprecated use {@link #setEnableJournalDiskSyncs} instead
      * @return the enableJournalDiskSyncs
      */
     public boolean isEnableJournalDiskSyncs() {
@@ -443,6 +443,7 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport implements
     /**
      * Set the enableJournalDiskSyncs
      *
+     * @deprecated use {@link #setEnableJournalDiskSyncs} instead
      * @param enableJournalDiskSyncs
      *            the enableJournalDiskSyncs to set
      */
@@ -451,6 +452,34 @@ public class KahaDBPersistenceAdapter extends LockableServiceSupport
implements
     }
 
     /**
+     * @return
+     */
+    public String getJournalDiskSyncStrategy() {
+        return letter.getJournalDiskSyncStrategy();
+    }
+
+    /**
+     * @param journalDiskSyncStrategy
+     */
+    public void setJournalDiskSyncStrategy(String journalDiskSyncStrategy) {
+        letter.setJournalDiskSyncStrategy(journalDiskSyncStrategy);
+    }
+
+    /**
+     * @return
+     */
+    public long getJournalDiskSyncInterval() {
+        return letter.getJournalDiskSyncInterval();
+    }
+
+    /**
+     * @param journalDiskSyncInterval
+     */
+    public void setJournalDiskSyncInterval(long journalDiskSyncInterval) {
+        letter.setJournalDiskSyncInterval(journalDiskSyncInterval);
+    }
+
+    /**
      * Get the indexCacheSize
      *
      * @return the indexCacheSize


Mime
View raw message