public class Random2LruPageEvictionTracker extends PageAbstractEvictionTracker
pageMem, trackingSize| Constructor and Description |
|---|
Random2LruPageEvictionTracker(PageMemoryNoStoreImpl pageMem,
MemoryPolicyConfiguration 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.
|
public Random2LruPageEvictionTracker(PageMemoryNoStoreImpl pageMem, MemoryPolicyConfiguration 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 Fabric : ver. 2.0.0 Release Date : April 30 2017