From 9a4a3647a733e43381e0690804fd745628c8c915 Mon Sep 17 00:00:00 2001 From: Martyn Taylor Date: Fri, 9 Sep 2016 13:28:29 +0100 Subject: [PATCH] ARTEMIS-726 JDBC storage manager should not use FileMonitors --- .../persistence/impl/journal/JDBCJournalStorageManager.java | 5 +++++ 1 file changed, 5 insertions(+) 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 a5d55ad7a4..27fe5dcc91 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 { + } }