BadgerDB
Main Page
Namespaces
Classes
Files
File List
All
Classes
Namespaces
Functions
Variables
Typedefs
Friends
Pages
afs
cs.wisc.edu
u
h
a
haiyun
private
cs564-spr17
projects
p2
BufMgr
src
exceptions
page_not_pinned_exception.h
1
8
#pragma once
9
10
#include <string>
11
12
#include "badgerdb_exception.h"
13
#include "types.h"
14
15
namespace
badgerdb {
16
20
class
PageNotPinnedException
:
public
BadgerDbException
{
21
public
:
25
explicit
PageNotPinnedException
(
const
std::string& nameIn,
PageId
pageNoIn,
FrameId
frameNoIn);
26
27
protected
:
31
const
std::string&
name
;
32
36
const
PageId
pageNo
;
37
41
const
FrameId
frameNo
;
42
};
43
44
}
badgerdb::PageNotPinnedException
An exception that is thrown when a page which is expected to be pinned in the buffer pool is found to...
Definition:
page_not_pinned_exception.h:20
badgerdb::PageNotPinnedException::frameNo
const FrameId frameNo
Definition:
page_not_pinned_exception.h:41
badgerdb::BadgerDbException
Base class for all BadgerDB-specific exceptions.
Definition:
badgerdb_exception.h:18
badgerdb::FrameId
std::uint32_t FrameId
Identifier for a frame in buffer pool.
Definition:
types.h:25
badgerdb::PageId
std::uint32_t PageId
Identifier for a page in a file.
Definition:
types.h:15
badgerdb::PageNotPinnedException::PageNotPinnedException
PageNotPinnedException(const std::string &nameIn, PageId pageNoIn, FrameId frameNoIn)
Definition:
page_not_pinned_exception.cpp:15
badgerdb::PageNotPinnedException::name
const std::string & name
Definition:
page_not_pinned_exception.h:31
badgerdb::PageNotPinnedException::pageNo
const PageId pageNo
Definition:
page_not_pinned_exception.h:36
Generated on Fri Feb 10 2017 12:39:55 for BadgerDB by
1.8.6