Class PagingStoreFactoryDatabase
java.lang.Object
org.apache.activemq.artemis.core.paging.impl.PagingStoreFactoryDatabase
- All Implemented Interfaces:
PagingStoreFactory
Integration point between Paging and JDBC
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPagingStoreFactoryDatabase(DatabaseStorageConfiguration dbConf, StorageManager storageManager, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional, IOCriticalErrorListener criticalErrorListener) -
Method Summary
Modifier and TypeMethodDescriptionvoidinjectMonitor(FileStoreMonitor monitor) newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, ArtemisExecutor executor) newFileFactory(SimpleString address) newStore(SimpleString address, AddressSettings settings) reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) voidremoveFileFactory(SequentialFileFactory fileFactory) voidsetPagingManager(PagingManager pagingManager) voidstart()voidstop()
-
Field Details
-
syncNonTransactional
protected final boolean syncNonTransactional -
storageManager
-
-
Constructor Details
-
PagingStoreFactoryDatabase
public PagingStoreFactoryDatabase(DatabaseStorageConfiguration dbConf, StorageManager storageManager, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional, IOCriticalErrorListener criticalErrorListener) throws Exception - Throws:
Exception
-
-
Method Details
-
getScheduledExecutor
- Specified by:
getScheduledExecutorin interfacePagingStoreFactory
-
newExecutor
- Specified by:
newExecutorin interfacePagingStoreFactory
-
start
- Throws:
Exception
-
stop
public void stop()- Specified by:
stopin interfacePagingStoreFactory
-
injectMonitor
- Specified by:
injectMonitorin interfacePagingStoreFactory- Throws:
Exception
-
newCursorProvider
public PageCursorProvider newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, ArtemisExecutor executor) - Specified by:
newCursorProviderin interfacePagingStoreFactory
-
newStore
- Specified by:
newStorein interfacePagingStoreFactory
-
newFileFactory
- Specified by:
newFileFactoryin interfacePagingStoreFactory- Throws:
Exception
-
removeFileFactory
- Specified by:
removeFileFactoryin interfacePagingStoreFactory- Throws:
Exception
-
setPagingManager
- Specified by:
setPagingManagerin interfacePagingStoreFactory
-
reloadStores
public List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) throws Exception - Specified by:
reloadStoresin interfacePagingStoreFactory- Throws:
Exception
-