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

Prefetch length knob. More...

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

Public Member Functions

STORMBYTE_FORCE_INLINE ReadAhead (const StormByte::ByteSize value) noexcept
 Store the prefetch length.
 
STORMBYTE_FORCE_INLINE StormByte::ByteSize Value () const noexcept
 Prefetch length.
 

Detailed Description

Prefetch length knob.

0 disables prefetch.

Constructor & Destructor Documentation

◆ ReadAhead()

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

Store the prefetch length.

Parameters
valueBytes. 0 disables prefetch.

Member Function Documentation

◆ Value()

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

Prefetch length.

Returns
Bytes.

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