public class PagingStoreFactoryDatabase extends Object implements PagingStoreFactory
| Modifier and Type | Field and Description |
|---|---|
protected StorageManager |
storageManager |
protected boolean |
syncNonTransactional |
| Constructor and Description |
|---|
PagingStoreFactoryDatabase(DatabaseStorageConfiguration dbConf,
StorageManager storageManager,
long syncTimeout,
ScheduledExecutorService scheduledExecutor,
ExecutorFactory executorFactory,
boolean syncNonTransactional,
IOCriticalErrorListener critialErrorListener) |
| Modifier and Type | Method and Description |
|---|---|
void |
injectMonitor(FileStoreMonitor monitor) |
PageCursorProvider |
newCursorProvider(PagingStore store,
StorageManager storageManager,
AddressSettings addressSettings,
Executor executor) |
SequentialFileFactory |
newFileFactory(SimpleString address) |
PagingStore |
newStore(SimpleString address,
AddressSettings settings) |
List<PagingStore> |
reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) |
void |
setPagingManager(PagingManager pagingManager) |
void |
start() |
void |
stop() |
protected final boolean syncNonTransactional
protected final StorageManager storageManager
public PagingStoreFactoryDatabase(DatabaseStorageConfiguration dbConf, StorageManager storageManager, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional, IOCriticalErrorListener critialErrorListener) throws Exception
Exceptionpublic void stop()
stop in interface PagingStoreFactorypublic void injectMonitor(FileStoreMonitor monitor) throws Exception
injectMonitor in interface PagingStoreFactoryExceptionpublic PageCursorProvider newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, Executor executor)
newCursorProvider in interface PagingStoreFactorypublic PagingStore newStore(SimpleString address, AddressSettings settings)
newStore in interface PagingStoreFactorypublic SequentialFileFactory newFileFactory(SimpleString address) throws Exception
newFileFactory in interface PagingStoreFactoryExceptionpublic void setPagingManager(PagingManager pagingManager)
setPagingManager in interface PagingStoreFactorypublic List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) throws Exception
reloadStores in interface PagingStoreFactoryExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.