Reader knobs. More...
#include <StormByte/buffer/io/buffered_reader.hxx>


Public Member Functions | |
| STORMBYTE_FORCE_INLINE | ReaderParameters () noexcept=default |
| No knobs. | |
| template<typename... Knobs> | |
| STORMBYTE_FORCE_INLINE | ReaderParameters (Knobs... knobs) |
| Engage the listed knobs. | |
Public Member Functions inherited from StormByte::Buffer::IO::ReaderParameters | |
| STORMBYTE_FORCE_INLINE | ReaderParameters () noexcept=default |
| No knobs. | |
| template<typename... Knobs> | |
| STORMBYTE_FORCE_INLINE | ReaderParameters (Knobs... knobs) |
| Engage the listed knobs. | |
| STORMBYTE_FORCE_INLINE const std::optional< StormByte::ByteSize > & | ReadAhead () const noexcept |
| Prefetch length when the caller set it. | |
| STORMBYTE_FORCE_INLINE const std::optional< StormByte::ByteSize > & | MaxMemory () const noexcept |
| Cache cap when the caller set it. | |
| STORMBYTE_FORCE_INLINE const std::optional< std::chrono::milliseconds > & | MaxWait () const noexcept |
| Wait cap when the caller set it. | |
Reader knobs.
A missing field keeps the base default (0 / 0 ms).
Header-only. The variadic list is applied in the caller (STORMBYTE_FORCE_INLINE). This module never instantiates Parameters.
|
defaultnoexcept |
No knobs.
Every field is absent.
|
inline |