Interface BufferManagerObserver

  • All Known Implementing Classes:

    public interface BufferManagerObserver
    This interface allows other classes to respond to operations performed by the BufferManager. For example, the TransactionManager observes the BufferManager to update the write-ahead log files appropriately, based on what pages are being written out to disk.
    • Method Detail

      • beforeWriteDirtyPages

        void beforeWriteDirtyPages​(java.util.List<DBPage> pages)
        This method is called before the buffer manager writes the specified collection of pages.
        pages - a collection of DBPage objects that are about to be written back to disk