public interface PagingManager extends HornetQComponent, HierarchicalRepositoryChangeListener
+------------+ 1 +-------------+ N +------------+ N +-------+ 1 +----------------+ |PostOffice|-------> |PagingManager|-------> |PagingStore| ------> |Page| ------> |SequentialFile| +------------+ +-------------+ +------------+ +-------+ +----------------+ | 1 ^ | | | | | | 1 | N +---------+ +--------> | Address | +---------+
| Modifier and Type | Method and Description |
|---|---|
void |
addTransaction(PageTransactionInfo pageTransaction)
Point to inform/restoring Transactions used when the messages were added into paging
|
void |
deletePageStore(SimpleString storeName) |
PagingStore |
getPageStore(SimpleString address)
To return the PageStore associated with the address
|
SimpleString[] |
getStoreNames() |
PageTransactionInfo |
getTransaction(long transactionID)
Point to inform/restoring Transactions used when the messages were added into paging
|
Map<Long,PageTransactionInfo> |
getTransactions() |
void |
processReload() |
void |
reloadStores()
Reload previously created PagingStores into memory
|
void |
removeTransaction(long transactionID) |
void |
setPostOffice(PostOffice postOffice)
An injection point for the PostOffice to inject itself
|
isStarted, start, stoponChangePagingStore getPageStore(SimpleString address) throws Exception
Exceptionvoid setPostOffice(PostOffice postOffice)
void addTransaction(PageTransactionInfo pageTransaction)
PageTransactionInfo getTransaction(long transactionID)
void removeTransaction(long transactionID)
transactionID - Map<Long,PageTransactionInfo> getTransactions()
void reloadStores()
throws Exception
ExceptionSimpleString[] getStoreNames()
void deletePageStore(SimpleString storeName) throws Exception
ExceptionCopyright © 2012 JBoss by Red Hat. All Rights Reserved.