SwatDB
|
#include <exceptions.h>
Public Member Functions | |
PageAlreadyLoadedBufMgr (PageId page_id) | |
Constructor. More... | |
~PageAlreadyLoadedBufMgr () throw () | |
Destructor. | |
PageId | getPageId () const throw () |
Returns the PageId of the Page already in the buffer pool. More... | |
Public Member Functions inherited from SwatDBException | |
SwatDBException (const std::string &msg) | |
virtual | ~SwatDBException () throw () |
virtual const char * | what () const throw () |
Returns the error message of the exception. More... | |
Private Attributes | |
PageId | page_id |
Additional Inherited Members | |
Protected Attributes inherited from SwatDBException | |
std::string | message |
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).
|
explicit |
PageId PageAlreadyLoadedBufMgr::getPageId | ( | ) | const | |
throw | ( | |||
) |