public interface PageCursorProvider
Modifier and Type | Method and Description |
---|---|
void |
addPageCache(PageCache cache) |
void |
cleanup()
Perform the cleanup at the caller's thread (for startup and recovery)
|
void |
clearCache()
Used on tests, to simulate a scenario where the VM cleared space
|
void |
close(PageSubscription pageCursorImpl) |
PageSubscription |
createSubscription(long queueId,
Filter filter,
boolean durable) |
void |
disableCleanup() |
void |
flushExecutors() |
int |
getCacheSize() |
PagedMessage |
getMessage(PagePosition pos) |
PageCache |
getPageCache(long pageNr) |
PageSubscription |
getSubscription(long queueId) |
PagedReference |
newReference(PagePosition pos,
PagedMessage msg,
PageSubscription sub) |
void |
onPageModeCleared()
Cleanup stuff as paging mode is being cleared
|
void |
printDebug() |
void |
processReload() |
void |
resumeCleanup() |
void |
scheduleCleanup() |
void |
setCacheMaxSize(int size) |
void |
stop() |
void clearCache()
PageCache getPageCache(long pageNr)
PagedReference newReference(PagePosition pos, PagedMessage msg, PageSubscription sub)
void addPageCache(PageCache cache)
PageSubscription getSubscription(long queueId)
queueId
- The cursorID should be the same as the queueId associated for persistencePageSubscription createSubscription(long queueId, Filter filter, boolean durable)
PagedMessage getMessage(PagePosition pos)
void stop()
void flushExecutors()
void scheduleCleanup()
void disableCleanup()
void resumeCleanup()
void onPageModeCleared()
void cleanup()
void setCacheMaxSize(int size)
void close(PageSubscription pageCursorImpl)
pageCursorImpl
- int getCacheSize()
void printDebug()
Copyright © 2021 JBoss by Red Hat. All rights reserved.