- 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 class
PageCache.Page
-
Field Summary
Fields Modifier and Type Field Description protected byte[]
bytes
protected int
evictGrowth
protected int
evictPeriod
protected int
evictTick
int
hiUsage
int
loUsage
protected long
lruBits
protected int
maxGrowth
protected int
maxPeriod
protected static int
NO_KEY
int
numPages
protected PageCache.Page[]
pages
int
pageSize
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PageCache.Page
find(int key, long vaddr, int size)
protected void
initialize()
-
-
-
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)
-
-