activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From clebertsuco...@apache.org
Subject [2/2] activemq-artemis git commit: ARTEMIS-726 JDBC storage manager should not use FileMonitors
Date Fri, 09 Sep 2016 13:51:00 GMT
ARTEMIS-726 JDBC storage manager should not use FileMonitors


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

Branch: refs/heads/master
Commit: 9a4a3647a733e43381e0690804fd745628c8c915
Parents: 2ef20e6
Author: Martyn Taylor <mtaylor@redhat.com>
Authored: Fri Sep 9 13:28:29 2016 +0100
Committer: Clebert Suconic <clebertsuconic@apache.org>
Committed: Fri Sep 9 09:50:47 2016 -0400

----------------------------------------------------------------------
 .../persistence/impl/journal/JDBCJournalStorageManager.java     | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/activemq-artemis/blob/9a4a3647/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JDBCJournalStorageManager.java
----------------------------------------------------------------------
diff --git a/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JDBCJournalStorageManager.java
b/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JDBCJournalStorageManager.java
index a5d55ad..27fe5dc 100644
--- a/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JDBCJournalStorageManager.java
+++ b/artemis-server/src/main/java/org/apache/activemq/artemis/core/persistence/impl/journal/JDBCJournalStorageManager.java
@@ -25,6 +25,7 @@ import org.apache.activemq.artemis.core.config.storage.DatabaseStorageConfigurat
 import org.apache.activemq.artemis.core.io.IOCriticalErrorListener;
 import org.apache.activemq.artemis.core.io.nio.NIOSequentialFileFactory;
 import org.apache.activemq.artemis.core.journal.Journal;
+import org.apache.activemq.artemis.core.server.files.FileStoreMonitor;
 import org.apache.activemq.artemis.jdbc.store.file.JDBCSequentialFileFactory;
 import org.apache.activemq.artemis.jdbc.store.journal.JDBCJournalImpl;
 import org.apache.activemq.artemis.utils.ExecutorFactory;
@@ -107,4 +108,8 @@ public class JDBCJournalStorageManager extends JournalStorageManager {
    @Override
    public void freeDirectBuffer(ByteBuffer buffer) {
    }
+
+   @Override
+   public void injectMonitor(FileStoreMonitor monitor) throws Exception {
+   }
 }


Mime
View raw message