public class ClockPageReplacementFlags extends Object
PageReplacementMode.CLOCK| Modifier and Type | Method and Description |
|---|---|
void |
clearFlag(int pageIdx)
Clear page hit flag.
|
int |
poll()
Find page to replace.
|
static long |
requiredMemory(int pagesCnt)
Memory required to service
pagesCnt pages. |
void |
setFlag(int pageIdx)
Set page hit flag.
|
public int poll()
public void clearFlag(int pageIdx)
pageIdx - Page index.public void setFlag(int pageIdx)
pageIdx - Page index.public static long requiredMemory(int pagesCnt)
pagesCnt pages.pagesCnt - Pages count.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.11.0 Release Date : September 11 2021