#include <swatdb_exceptions.h>
PageAlreadyLoadedBufMgr is thrown by BufferManager when a page is trying to be added to the buffer pool, but a page with a matching PageId bufferpool is already in the buffer pool (individual pages can only be loaded one time).
◆ PageAlreadyLoadedBufMgr()
PageAlreadyLoadedBufMgr::PageAlreadyLoadedBufMgr |
( |
PageId |
page_id | ) |
|
|
explicit |
Constructor.
- Parameters
-
page_id. | PageId of the Page already in the buffer pool. |
◆ getPageId()
PageId PageAlreadyLoadedBufMgr::getPageId |
( |
| ) |
const |
throw | ( | |
| ) | | |
Returns the PageId of the Page already in the buffer pool.
- Returns
- PageId of the Page already in the buffer pool.
◆ page_id
PageId PageAlreadyLoadedBufMgr::page_id |
|
private |
The documentation for this class was generated from the following file: