OmniSciDB  8a228a1076
Buffer_Namespace::BufferSeg Struct Reference

#include <BufferSeg.h>

+ Collaboration diagram for Buffer_Namespace::BufferSeg:

Public Member Functions

 BufferSeg ()
 
 BufferSeg (const int start_page, const size_t num_pages)
 
 BufferSeg (const int start_page, const size_t num_pages, const MemStatus mem_status)
 
 BufferSeg (const int start_page, const size_t num_pages, const MemStatus mem_status, const int last_touched)
 

Public Attributes

int start_page
 
size_t num_pages
 
MemStatus mem_status
 
Bufferbuffer
 
ChunkKey chunk_key
 
unsigned int pin_count
 
int slab_num
 
unsigned int last_touched
 

Detailed Description

Definition at line 30 of file BufferSeg.h.

Constructor & Destructor Documentation

◆ BufferSeg() [1/4]

Buffer_Namespace::BufferSeg::BufferSeg ( )
inline

◆ BufferSeg() [2/4]

Buffer_Namespace::BufferSeg::BufferSeg ( const int  start_page,
const size_t  num_pages 
)
inline

Definition at line 42 of file BufferSeg.h.

◆ BufferSeg() [3/4]

Buffer_Namespace::BufferSeg::BufferSeg ( const int  start_page,
const size_t  num_pages,
const MemStatus  mem_status 
)
inline

Definition at line 50 of file BufferSeg.h.

◆ BufferSeg() [4/4]

Buffer_Namespace::BufferSeg::BufferSeg ( const int  start_page,
const size_t  num_pages,
const MemStatus  mem_status,
const int  last_touched 
)
inline

Definition at line 58 of file BufferSeg.h.

Member Data Documentation

◆ buffer

Buffer* Buffer_Namespace::BufferSeg::buffer

Definition at line 34 of file BufferSeg.h.

◆ chunk_key

ChunkKey Buffer_Namespace::BufferSeg::chunk_key

Definition at line 35 of file BufferSeg.h.

◆ last_touched

unsigned int Buffer_Namespace::BufferSeg::last_touched

Definition at line 38 of file BufferSeg.h.

◆ mem_status

MemStatus Buffer_Namespace::BufferSeg::mem_status

Definition at line 33 of file BufferSeg.h.

◆ num_pages

size_t Buffer_Namespace::BufferSeg::num_pages

Definition at line 32 of file BufferSeg.h.

◆ pin_count

unsigned int Buffer_Namespace::BufferSeg::pin_count

Definition at line 36 of file BufferSeg.h.

◆ slab_num

int Buffer_Namespace::BufferSeg::slab_num

Definition at line 37 of file BufferSeg.h.

Referenced by Buffer_Namespace::BufferMgr::evict().

◆ start_page

int Buffer_Namespace::BufferSeg::start_page

Definition at line 31 of file BufferSeg.h.


The documentation for this struct was generated from the following file: