Class ReplaceCandidate
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.persistence.pagemem.ReplaceCandidate
-
public class ReplaceCandidate extends Object
Replacement removal candidate. Class represents some page from loaded pages table. Usually candidate is found during randomLoadedPagesMaptouch.
-
-
Constructor Summary
Constructors Constructor Description ReplaceCandidate(int gen, long relPtr, FullPageId fullId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FullPageIdfullId()intgeneration()longrelativePointer()StringtoString()
-
-
-
Constructor Detail
-
ReplaceCandidate
public ReplaceCandidate(int gen, long relPtr, FullPageId fullId)- Parameters:
gen- Partition generation.relPtr- Relative pointer to page.fullId- Full page ID.
-
-
Method Detail
-
generation
public int generation()
- Returns:
- Partition generation saved in map, too old value means page may be safely cleared.
-
relativePointer
public long relativePointer()
- Returns:
- Relative pointer to page.
-
fullId
public FullPageId fullId()
- Returns:
- Index.
-
-