taco-db  0.1.0
Classes | Namespaces | Typedefs
BufferManager.h File Reference
#include "tdb.h"
#include <absl/container/flat_hash_map.h>
#include "utils/Latch.h"
#include "utils/ResourceGuard.h"

Go to the source code of this file.

Classes

struct  taco::BufferUnpin
 
struct  taco::BufferUnlatch
 
class  taco::BufferManager
 BufferManager implements a steal and no-force buffer pool with a fixed number of page frames to buffer the pages in the regular files. More...
 

Namespaces

 taco
 

Typedefs

using taco::ScopedBufferId = ResourceGuard< BufferId, BufferUnpin, BufferId, INVALID_BUFID >
 An RAII-style guard for a pinned buffer frame, which is unpinned when it goes out of its scope. More...
 
using taco::ScopedBufferLatch = ResourceGuard< BufferId, BufferUnlatch, BufferId, INVALID_BUFID >
 You may ignore this type alias since we won't be implementing concurrency control and recovery. More...