public interface PagingManager extends org.apache.activemq.artemis.core.server.ActiveMQComponent, HierarchicalRepositoryChangeListener
+--------------+ 1 +----------------+ N +--------------+ N +--------+ 1 +-------------------+ |PostOffice|-------> |PagingManager|-------> |PagingStore| ------> |Page| ------> |SequentialFile| +--------------+ +----------------+ +--------------+ +--------+ +-------------------+ | 1 ^ | | | | | | 1 | N +----------+ +------------> |Address| +----------+
| Modifier and Type | Method and Description |
|---|---|
void |
addBlockedStore(PagingStore store) |
PagingManager |
addSize(int size)
Add size at the global count level.
|
void |
addTransaction(PageTransactionInfo pageTransaction)
Point to inform/restoring Transactions used when the messages were added into paging
|
void |
deletePageStore(org.apache.activemq.artemis.api.core.SimpleString storeName) |
void |
disableCleanup() |
PagingStore |
getPageStore(org.apache.activemq.artemis.api.core.SimpleString address)
Returns the PageStore associated with the address.
|
org.apache.activemq.artemis.api.core.SimpleString[] |
getStoreNames() |
PageTransactionInfo |
getTransaction(long transactionID)
Point to inform/restoring Transactions used when the messages were added into paging
|
Map<Long,PageTransactionInfo> |
getTransactions() |
void |
injectMonitor(FileStoreMonitor monitor) |
boolean |
isDiskFull() |
boolean |
isGlobalFull() |
boolean |
isUsingGlobalSize() |
void |
lock()
Lock the manager.
|
void |
processReload() |
void |
reloadStores()
Reload previously created PagingStores into memory
|
void |
removeTransaction(long transactionID) |
void |
resumeCleanup() |
void |
unlock()
Unlock the manager.
|
isStarted, start, stoponChangePagingStore getPageStore(org.apache.activemq.artemis.api.core.SimpleString address) throws Exception
Exceptionvoid addTransaction(PageTransactionInfo pageTransaction)
PageTransactionInfo getTransaction(long transactionID)
void removeTransaction(long transactionID)
transactionID - Map<Long,PageTransactionInfo> getTransactions()
void reloadStores()
throws Exception
Exceptionorg.apache.activemq.artemis.api.core.SimpleString[] getStoreNames()
void deletePageStore(org.apache.activemq.artemis.api.core.SimpleString storeName)
throws Exception
Exceptionvoid disableCleanup()
void resumeCleanup()
void addBlockedStore(PagingStore store)
void injectMonitor(FileStoreMonitor monitor) throws Exception
Exceptionvoid lock()
void unlock()
lock()PagingManager addSize(int size)
boolean isUsingGlobalSize()
boolean isGlobalFull()
boolean isDiskFull()
Copyright © 2023 The Apache Software Foundation. All rights reserved.