Interface PagingStoreFactory
- All Known Implementing Classes:
PagingStoreFactoryDatabase,PagingStoreFactoryNIO
public interface PagingStoreFactory
The integration point between the PagingManger and the File System (aka SequentialFiles)
-
Method Summary
Modifier and TypeMethodDescriptiondefault ScheduledExecutorServicevoidinjectMonitor(FileStoreMonitor monitor) newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, ArtemisExecutor executor) default ExecutornewFileFactory(SimpleString address) newStore(SimpleString address, AddressSettings addressSettings) reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) voidremoveFileFactory(SequentialFileFactory fileFactory) voidsetPagingManager(PagingManager manager) voidstop()
-
Method Details
-
newStore
-
newCursorProvider
PageCursorProvider newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, ArtemisExecutor executor) -
stop
- Throws:
InterruptedException
-
setPagingManager
-
reloadStores
List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) throws Exception - Throws:
Exception
-
newFileFactory
- Throws:
Exception
-
removeFileFactory
- Throws:
Exception
-
injectMonitor
- Throws:
Exception
-
getScheduledExecutor
-
newExecutor
-