Class PageCache

java.lang.Object
com.ibm.dtfj.corereaders.PageCache

public class PageCache extends Object
Simple paging cache, to speedup getMemoryBytes
  • Field Details

    • bytes

      protected byte[] bytes
    • NO_KEY

      protected static final int NO_KEY
      See Also:
    • 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 Details

    • initialize

      protected void initialize()
    • find

      public PageCache.Page find(int key, long vaddr, int size)