StormByte-Buffer 2.0.0
C++26 buffer module of the StormByte suite
 
Loading...
Searching...
No Matches
StormByte::Buffer::IO::MaxMemory Class Reference

Cache / dirty-page budget knob. More...

#include <StormByte/buffer/io/parameters.hxx>

Public Member Functions

STORMBYTE_FORCE_INLINE MaxMemory (const StormByte::ByteSize value) noexcept
 Store the memory budget.
 
STORMBYTE_FORCE_INLINE StormByte::ByteSize Value () const noexcept
 Memory budget.
 

Detailed Description

Cache / dirty-page budget knob.

0 stores no pages.

Constructor & Destructor Documentation

◆ MaxMemory()

STORMBYTE_FORCE_INLINE StormByte::Buffer::IO::MaxMemory::MaxMemory ( const StormByte::ByteSize  value)
inlineexplicitnoexcept

Store the memory budget.

Parameters
valueBytes. 0 stores no pages.

Member Function Documentation

◆ Value()

STORMBYTE_FORCE_INLINE StormByte::ByteSize StormByte::Buffer::IO::MaxMemory::Value ( ) const
inlinenoexcept

Memory budget.

Returns
Bytes.

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