Interface PageCache
-
- All Superinterfaces:
AutoCloseable,SoftValueLongObjectHashMap.ValueCache
- All Known Subinterfaces:
BulkPageCache,LivePageCache
- All Known Implementing Classes:
LivePageCacheImpl,PageReader
public interface PageCache extends SoftValueLongObjectHashMap.ValueCache, AutoCloseable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()PagedMessagegetMessage(PagePosition pagePosition)intgetNumberOfMessages()longgetPageId()-
Methods inherited from interface org.apache.activemq.artemis.utils.SoftValueLongObjectHashMap.ValueCache
isLive
-
-
-
-
Method Detail
-
getPageId
long getPageId()
-
getNumberOfMessages
int getNumberOfMessages()
-
getMessage
PagedMessage getMessage(PagePosition pagePosition)
- Parameters:
pagePosition- page position- Returns:
-
close
void close()
- Specified by:
closein interfaceAutoCloseable
-
-