Skip to main content

Module buffer

Module buffer 

Source
Expand description

Aegis Buffer - Buffer Pool Management

LRU-based buffer pool for caching pages in memory. Provides efficient page access with automatic eviction of least-recently-used pages when the pool reaches capacity.

Key Features:

  • LRU eviction policy for cache management
  • Pin counting to protect active pages from eviction
  • Dirty page tracking for write-back optimization
  • Thread-safe concurrent access

@version 0.1.0 @author AutomataNexus Development Team

Structsยง

BufferPool
LRU buffer pool for page caching.
BufferPoolConfig
Configuration for the buffer pool.
BufferPoolStats
Buffer pool statistics.
PageHandle
RAII handle for accessing a page in the buffer pool.