|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PagingStore
The implementation will take care of details such as PageSize.
The producers will write directly to PagingStore and that will decide what Page file should be used based on configured size
Look at the WIKI for more information.
PagingManager
Method Summary | |
---|---|
void |
addSize(long memoryEstimate)
|
long |
getAddressSize()
|
long |
getMaxSizeBytes()
Maximum number of bytes allowed in memory |
int |
getNumberOfPages()
|
long |
getPageSizeBytes()
|
SimpleString |
getStoreName()
|
boolean |
isDropWhenMaxSize()
|
boolean |
isPaging()
|
boolean |
page(PagedMessage message,
boolean sync,
boolean duplicateDetection)
|
boolean |
readPage()
|
boolean |
startDepaging()
|
boolean |
startDepaging(java.util.concurrent.Executor executor)
When start depaging from a global perspective, we don't want all the stores depaging at once what could saturate the servers |
boolean |
startPaging()
|
void |
sync()
|
Methods inherited from interface org.jboss.messaging.core.server.MessagingComponent |
---|
isStarted, start, stop |
Method Detail |
---|
int getNumberOfPages()
SimpleString getStoreName()
long getMaxSizeBytes()
boolean isDropWhenMaxSize()
long getPageSizeBytes()
long getAddressSize()
boolean startPaging() throws java.lang.Exception
java.lang.Exception
boolean isPaging()
void sync() throws java.lang.Exception
java.lang.Exception
boolean page(PagedMessage message, boolean sync, boolean duplicateDetection) throws java.lang.Exception
java.lang.Exception
boolean readPage() throws java.lang.Exception
java.lang.Exception
boolean startDepaging()
java.lang.Exception
boolean startDepaging(java.util.concurrent.Executor executor)
void addSize(long memoryEstimate) throws java.lang.Exception
memoryEstimate
-
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |