Class CacheFileStats

java.lang.Object
com.sleepycat.db.CacheFileStats

public class CacheFileStats extends Object
Statistics for a file in the cache.
  • Method Details

    • getPageSize

      public int getPageSize()
      Page size in bytes.
    • getMap

      public int getMap()
      Requested pages mapped into the process' address space.
    • getCacheHit

      public long getCacheHit()
      Requested pages found in the cache.
    • getCacheMiss

      public long getCacheMiss()
      Requested pages not found in the cache.
    • getPageCreate

      public long getPageCreate()
      Pages created in the cache.
    • getPageIn

      public long getPageIn()
      Pages read into the cache.
    • getPageOut

      public long getPageOut()
      Pages written from the cache to the backing file.
    • getBackupSpins

      public long getBackupSpins()
      TODO
    • getFileName

      public String getFileName()
      The name of the file.
    • toString

      public String toString()
      For convenience, the CacheFileStats class has a toString method that lists all the data fields.
      Overrides:
      toString in class Object