org.jboss.messaging.core.paging
Interface PagingStoreFactory

All Known Implementing Classes:
PagingStoreFactoryNIO

public interface PagingStoreFactory

The integration point between the PagingManger and the File System (aka SequentialFiles)

Author:
Clebert Suconic

Method Summary
 java.util.concurrent.Executor getGlobalDepagerExecutor()
           
 SequentialFileFactory newFileFactory(SimpleString destinationName)
           
 PagingStore newStore(SimpleString destinationName, AddressSettings addressSettings)
           
 java.util.List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository)
           
 void setPagingManager(PagingManager manager)
           
 void setPostOffice(PostOffice office)
           
 void setStorageManager(StorageManager storageManager)
           
 void stop()
           
 

Method Detail

newStore

PagingStore newStore(SimpleString destinationName,
                     AddressSettings addressSettings)
                     throws java.lang.Exception
Throws:
java.lang.Exception

getGlobalDepagerExecutor

java.util.concurrent.Executor getGlobalDepagerExecutor()

stop

void stop()
          throws java.lang.InterruptedException
Throws:
java.lang.InterruptedException

setPagingManager

void setPagingManager(PagingManager manager)

setStorageManager

void setStorageManager(StorageManager storageManager)

setPostOffice

void setPostOffice(PostOffice office)

reloadStores

java.util.List<PagingStore> reloadStores(HierarchicalRepository<AddressSettings> addressSettingsRepository)
                                         throws java.lang.Exception
Throws:
java.lang.Exception

newFileFactory

SequentialFileFactory newFileFactory(SimpleString destinationName)
                                     throws java.lang.Exception
Parameters:
storeName -
Returns:
Throws:
java.lang.Exception


Copyright © 2006 JBoss Inc. All Rights Reserved.