Package edu.caltech.nanodb.storage
Interface BufferManagerObserver
-
- All Known Implementing Classes:
TransactionManager
public interface BufferManagerObserver
This interface allows other classes to respond to operations performed by theBufferManager
. For example, theTransactionManager
observes theBufferManager
to update the write-ahead log files appropriately, based on what pages are being written out to disk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
beforeWriteDirtyPages(java.util.List<DBPage> pages)
This method is called before the buffer manager writes the specified collection of pages.
-
-
-
Method Detail
-
beforeWriteDirtyPages
void beforeWriteDirtyPages(java.util.List<DBPage> pages)
This method is called before the buffer manager writes the specified collection of pages.- Parameters:
pages
- a collection of DBPage objects that are about to be written back to disk
-
-