org.jboss.messaging.core.paging.impl
Class PagingStoreFactoryNIO
java.lang.Object
org.jboss.messaging.core.paging.impl.PagingStoreFactoryNIO
- All Implemented Interfaces:
- PagingStoreFactory
public class PagingStoreFactoryNIO
- extends java.lang.Object
- implements PagingStoreFactory
Integration point between Paging and NIO
- Author:
- Clebert Suconic
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PagingStoreFactoryNIO
public PagingStoreFactoryNIO(java.lang.String directory,
ExecutorFactory executorFactory)
getGlobalDepagerExecutor
public java.util.concurrent.Executor getGlobalDepagerExecutor()
- Specified by:
getGlobalDepagerExecutor
in interface PagingStoreFactory
stop
public void stop()
- Specified by:
stop
in interface PagingStoreFactory
newStore
public PagingStore newStore(SimpleString destinationName,
AddressSettings settings)
throws java.lang.Exception
- Specified by:
newStore
in interface PagingStoreFactory
- Throws:
java.lang.Exception
newFileFactory
public SequentialFileFactory newFileFactory(SimpleString destinationName)
throws java.lang.Exception
- Specified by:
newFileFactory
in interface PagingStoreFactory
- Parameters:
storeName
-
- Returns:
-
- Throws:
java.lang.Exception
setPagingManager
public void setPagingManager(PagingManager pagingManager)
- Specified by:
setPagingManager
in interface PagingStoreFactory
setStorageManager
public void setStorageManager(StorageManager storageManager)
- Specified by:
setStorageManager
in interface PagingStoreFactory
setPostOffice
public void setPostOffice(PostOffice postOffice)
- Specified by:
setPostOffice
in interface PagingStoreFactory
reloadStores
public java.util.List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository)
throws java.lang.Exception
- Specified by:
reloadStores
in interface PagingStoreFactory
- Throws:
java.lang.Exception
newFileFactory
protected SequentialFileFactory newFileFactory(java.lang.String directoryName)
Copyright © 2006 JBoss Inc. All Rights Reserved.