public class PagingStoreFactoryNIO extends Object implements PagingStoreFactory
| Constructor and Description |
|---|
PagingStoreFactoryNIO(StorageManager storageManager,
File directory,
long syncTimeout,
ScheduledExecutorService scheduledExecutor,
ExecutorFactory executorFactory,
boolean syncNonTransactional,
IOCriticalErrorListener critialErrorListener) |
| Modifier and Type | Method and Description |
|---|---|
IOCriticalErrorListener |
getCritialErrorListener() |
File |
getDirectory() |
ExecutorFactory |
getExecutorFactory() |
PagingManager |
getPagingManager() |
ScheduledExecutorService |
getScheduledExecutor() |
StorageManager |
getStorageManager() |
long |
getSyncTimeout() |
void |
injectMonitor(FileStoreMonitor monitor) |
boolean |
isSyncNonTransactional() |
PageCursorProvider |
newCursorProvider(PagingStore store,
StorageManager storageManager,
AddressSettings addressSettings,
ArtemisExecutor executor) |
Executor |
newExecutor() |
SequentialFileFactory |
newFileFactory(SimpleString address) |
protected SequentialFileFactory |
newFileFactory(String directoryName) |
PagingStore |
newStore(SimpleString address,
AddressSettings settings) |
List<PagingStore> |
reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) |
void |
setPagingManager(PagingManager pagingManager) |
void |
stop() |
public PagingStoreFactoryNIO(StorageManager storageManager, File directory, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional, IOCriticalErrorListener critialErrorListener)
public File getDirectory()
public ExecutorFactory getExecutorFactory()
public boolean isSyncNonTransactional()
public PagingManager getPagingManager()
public long getSyncTimeout()
public StorageManager getStorageManager()
public IOCriticalErrorListener getCritialErrorListener()
public ScheduledExecutorService getScheduledExecutor()
getScheduledExecutor in interface PagingStoreFactorypublic Executor newExecutor()
newExecutor in interface PagingStoreFactorypublic void stop()
stop in interface PagingStoreFactorypublic void injectMonitor(FileStoreMonitor monitor) throws Exception
injectMonitor in interface PagingStoreFactoryExceptionpublic PageCursorProvider newCursorProvider(PagingStore store, StorageManager storageManager, AddressSettings addressSettings, ArtemisExecutor 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 PagingStoreFactoryExceptionprotected SequentialFileFactory newFileFactory(String directoryName)
Copyright © 2019 JBoss by Red Hat. All rights reserved.