public class NoOpPageEvictionTracker extends Object implements PageEvictionTracker
| Constructor and Description |
|---|
NoOpPageEvictionTracker() |
| Modifier and Type | Method and Description |
|---|---|
void |
evictDataPage()
Evicts one data page.
|
boolean |
evictionRequired()
Check if page eviction is required according to the configured policy.
|
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 void start()
throws IgniteException
start in interface LifecycleAwareIgniteException - If failed.public void stop()
throws IgniteException
stop in interface LifecycleAwareIgniteException - If failed.public void touchPage(long pageId)
throws IgniteCheckedException
touchPage in interface PageEvictionTrackerpageId - Page id.IgniteCheckedException - In case of page memory error.public void evictDataPage()
throws IgniteCheckedException
evictDataPage in interface PageEvictionTrackerIgniteCheckedException - In case of page memory error.public void forgetPage(long pageId)
throws IgniteCheckedException
forgetPage in interface PageEvictionTrackerpageId - Page id.IgniteCheckedException - In case of page memory error.public boolean evictionRequired()
evictionRequired in interface PageEvictionTrackerTrue if eviction required.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.15.0 Release Date : April 25 2023