| SwatDB
    | 
#include <bufmgr.h>

| Public Member Functions | |
| Frame () | |
| Constructor. Calls resetFrame to reset the Frame. | |
| ~Frame () | |
| Destructor. | |
| void | resetFrame () | 
| Resets the metadata of the Frame.  More... | |
| void | loadFrame (PageId page_id) | 
| Updates the Frame data according to the loaded Page.  More... | |
| Private Attributes | |
| PageId | page_id | 
| int | pin_count | 
| bool | valid | 
| bool | dirty | 
| bool | ref_bit | 
| std::mutex | frame_mtx | 
| Friends | |
| class | BufferManager | 
| void Frame::loadFrame | ( | PageId | page_id | ) | 
| void Frame::resetFrame | ( | ) | 
Resets the metadata of the Frame.
| 
 | friend | 
BufferManager has access to private data members of each Frame.
| 
 | private | 
true if the Frame is dirty. Else false.
| 
 | private | 
std::mutex for synchronized access to the Page.
| 
 | private | 
| 
 | private | 
The number of pins on the Page.
| 
 | private | 
| 
 | private | 
true if the Frame data is valid. Else false.
 1.8.13
 1.8.13