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 PagingStoreFactory
public PagingStore newStore(SimpleString address, AddressSettings settings)
newStore
in interface PagingStoreFactory
public SequentialFileFactory newFileFactory(SimpleString address) throws Exception
newFileFactory
in interface PagingStoreFactory
Exception
public void setPagingManager(PagingManager pagingManager)
setPagingManager
in interface PagingStoreFactory
public void setStorageManager(StorageManager storageManager)
setStorageManager
in interface PagingStoreFactory
public void setPostOffice(PostOffice postOffice)
setPostOffice
in interface PagingStoreFactory
public List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository) throws Exception
reloadStores
in interface PagingStoreFactory
Exception
protected 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.