Optional reader knobs. More...
#include <StormByte/buffer/io/parameters.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. | |
| 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. | |
Optional reader knobs.
A missing field keeps the current default.
Nested Parameters on BufferedReader and its children inherit this type. Not a DLL type.
|
defaultnoexcept |
No knobs.
Every field is absent.
|
inline |
|
inlinenoexcept |
Cache cap when the caller set it.
|
inlinenoexcept |
Wait cap when the caller set it.
|
inlinenoexcept |
Prefetch length when the caller set it.