package
0.0.0-20240830124323-c3d2d57c8a5a
Repository: https://github.com/fantom-foundation/carmendb.git
Documentation: pkg.go.dev

# Functions

NewFilePageStorage creates a new instance with path to the file, it defines the page size to pre-allocate the page buffer.
No description provided by the author
NewPagePool creates a new instance.

# Structs

FilePageStorage receives requests to Load or Store pages identified by an ID.
MemoryPageStore stores pages in-memory only, its use is mainly for testing.
PagePool maintains memory pages and handles their evictions, persistence and loadings.

# Interfaces

Page is an interface for a page that can be converted to/from bytes usually to be persisted.
PageStorage is an interface to be implemented to persistent pages.