public class PagingStoreFactoryNIO extends Object implements PagingStoreFactory
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
syncNonTransactional |
| Constructor and Description |
|---|
PagingStoreFactoryNIO(StorageManager storageManager,
String directory,
long syncTimeout,
ScheduledExecutorService scheduledExecutor,
ExecutorFactory executorFactory,
boolean syncNonTransactional,
IOCriticalErrorListener critialErrorListener) |
| Modifier and Type | Method and Description |
|---|---|
SequentialFileFactory |
newFileFactory(SimpleString address) |
PagingStore |
newStore(SimpleString address,
AddressSettings settings) |
List<PagingStore> |
reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) |
void |
setPagingManager(PagingManager pagingManager) |
void |
stop() |
public PagingStoreFactoryNIO(StorageManager storageManager, String directory, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional, IOCriticalErrorListener critialErrorListener)
public void stop()
stop 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 © 2013 JBoss, a division of Red Hat. All rights reserved.