public class RandomLruPageEvictionTracker extends PageAbstractEvictionTracker
pageMem, trackingSize| Constructor and Description |
|---|
RandomLruPageEvictionTracker(PageMemory pageMem,
DataRegionConfiguration plcCfg,
GridCacheSharedContext<?,?> sharedCtx) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
checkTouch(long pageId) |
void |
evictDataPage()
Evicts one data page.
|
void |
forgetPage(long pageId)
Call this method when last entry is removed from data page.
|
void |
start()
Starts grid component, called on grid start.
|
void |
stop()
Stops grid component, called on grid shutdown.
|
void |
touchPage(long pageId)
Call this method when data page is accessed.
|
evictionRequiredpublic RandomLruPageEvictionTracker(PageMemory pageMem, DataRegionConfiguration plcCfg, GridCacheSharedContext<?,?> sharedCtx)
pageMem - Page memory.plcCfg - Policy config.sharedCtx - Shared context.public void start()
throws IgniteException
IgniteException - If failed.public void stop()
throws IgniteException
IgniteException - If failed.public void touchPage(long pageId)
throws IgniteCheckedException
pageId - Page id.IgniteCheckedException - In case of page memory error.public void evictDataPage()
throws IgniteCheckedException
IgniteCheckedException - In case of page memory error.protected boolean checkTouch(long pageId)
checkTouch in class PageAbstractEvictionTrackerpageId - Page ID.public void forgetPage(long pageId)
pageId - Page id.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021