An exception that is thrown when a page which is not expected to be pinned in the buffer pool is found to be pinned. More...
#include <page_pinned_exception.h>
Public Member Functions | |
PagePinnedException (const std::string &nameIn, PageId pageNoIn, FrameId frameNoIn) | |
Protected Attributes | |
const std::string & | name |
const PageId | pageNo |
const FrameId | frameNo |
An exception that is thrown when a page which is not expected to be pinned in the buffer pool is found to be pinned.
Definition at line 20 of file page_pinned_exception.h.
wiscdb::PagePinnedException::PagePinnedException | ( | const std::string & | nameIn, |
PageId | pageNoIn, | ||
FrameId | frameNoIn | ||
) | [explicit] |
Constructs a page pinned exception for the given file.
Definition at line 15 of file page_pinned_exception.cpp.
const FrameId wiscdb::PagePinnedException::frameNo [protected] |
Frame number in buffer pool
Definition at line 41 of file page_pinned_exception.h.
const std::string& wiscdb::PagePinnedException::name [protected] |
Name of file that caused this exception.
Definition at line 31 of file page_pinned_exception.h.
const PageId wiscdb::PagePinnedException::pageNo [protected] |
Page number in file
Definition at line 36 of file page_pinned_exception.h.