public class PagingStoreFactoryNIO extends Object implements PagingStoreFactory
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
syncNonTransactional |
| Constructor and Description |
|---|
PagingStoreFactoryNIO(String directory,
long syncTimeout,
ScheduledExecutorService scheduledExecutor,
ExecutorFactory executorFactory,
boolean syncNonTransactional) |
PagingStoreFactoryNIO(String directory,
long syncTimeout,
ScheduledExecutorService scheduledExecutor,
ExecutorFactory executorFactory,
boolean syncNonTransactional,
IOCriticalErrorListener critialErrorListener) |
| Modifier and Type | Method and Description |
|---|---|
protected ExecutorFactory |
getExecutorFactory() |
protected PagingManager |
getPagingManager() |
protected PostOffice |
getPostOffice() |
protected StorageManager |
getStorageManager() |
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 |
setPostOffice(PostOffice postOffice) |
void |
setStorageManager(StorageManager storageManager) |
void |
stop() |
public PagingStoreFactoryNIO(String directory, long syncTimeout, ScheduledExecutorService scheduledExecutor, ExecutorFactory executorFactory, boolean syncNonTransactional)
public PagingStoreFactoryNIO(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 void setStorageManager(StorageManager storageManager)
setStorageManager in interface PagingStoreFactorypublic void setPostOffice(PostOffice postOffice)
setPostOffice in interface PagingStoreFactorypublic List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) throws Exception
reloadStores in interface PagingStoreFactoryExceptionprotected SequentialFileFactory newFileFactory(String directoryName)
protected PagingManager getPagingManager()
protected StorageManager getStorageManager()
protected PostOffice getPostOffice()
protected ExecutorFactory getExecutorFactory()
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.