Class BufferManager.CachedPageInfo

  • Enclosing class:
    BufferManager

    private static class BufferManager.CachedPageInfo
    extends java.lang.Object
    This helper class keeps track of a data page that is currently cached.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) DBFile dbFile  
      (package private) int pageNo  
    • Constructor Summary

      Constructors 
      Constructor Description
      CachedPageInfo​(DBFile dbFile, int pageNo)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • pageNo

        int pageNo
    • Constructor Detail

      • CachedPageInfo

        CachedPageInfo​(DBFile dbFile,
                       int pageNo)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object