- java.lang.Object
-
- com.ibm.dtfj.corereaders.PageCache
-
public class PageCache extends Object
Simple paging cache, to speedup getMemoryBytes
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classPageCache.Page
-
Field Summary
Fields Modifier and Type Field Description protected byte[]bytesprotected intevictGrowthprotected intevictPeriodprotected intevictTickinthiUsageintloUsageprotected longlruBitsprotected intmaxGrowthprotected intmaxPeriodprotected static intNO_KEYintnumPagesprotected PageCache.Page[]pagesintpageSize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageCache.Pagefind(int key, long vaddr, int size)protected voidinitialize()
-
-
-
Field Detail
-
bytes
protected byte[] bytes
-
NO_KEY
protected static final int NO_KEY
- See Also:
- Constant Field Values
-
numPages
public int numPages
-
pageSize
public int pageSize
-
hiUsage
public int hiUsage
-
loUsage
public int loUsage
-
pages
protected PageCache.Page[] pages
-
lruBits
protected long lruBits
-
evictTick
protected int evictTick
-
evictPeriod
protected int evictPeriod
-
evictGrowth
protected int evictGrowth
-
maxPeriod
protected int maxPeriod
-
maxGrowth
protected int maxGrowth
-
-
Method Detail
-
initialize
protected void initialize()
-
find
public PageCache.Page find(int key, long vaddr, int size)
-
-