Optional reader knobs. More...
#include <StormByte/buffer/io/parameters.hxx>

Public Member Functions | |
| ReaderParameters ()=default | |
| No knobs. | |
| template<typename... Knobs> | |
| ReaderParameters (Knobs... knobs) | |
| Engage the listed knobs. | |
| ReaderParameters (const ReaderParameters &other)=default | |
| Copy Safe-owned optional knobs; may allocate and throw. | |
| ReaderParameters (ReaderParameters &&other) noexcept=default | |
| Transfer Safe-owned optional knobs. | |
| ~ReaderParameters () noexcept=default | |
| Release optional knobs through provider callbacks. | |
| ReaderParameters & | operator= (const ReaderParameters &other)=default |
| Copy Safe-owned optional knobs; may allocate and throw. | |
| ReaderParameters & | operator= (ReaderParameters &&other) noexcept=default |
| Transfer Safe-owned optional knobs. | |
| const StormByte::Safe::Optional< StormByte::ByteSize > & | ReadChunk () const noexcept |
| Origin request maximum when the caller supplied it. | |
| const StormByte::Safe::Optional< StormByte::ByteSize > & | ReadAhead () const noexcept |
| Prefetch length when the caller set it. | |
| const StormByte::Safe::Optional< StormByte::ByteSize > & | MaxMemory () const noexcept |
| Cache cap when the caller set it. | |
| const StormByte::Safe::Optional< std::chrono::milliseconds::rep > & | MaxWait () const noexcept |
| Signed millisecond count when the caller set the wait cap. | |
Optional reader knobs.
A missing field keeps the current default.
Nested Parameters on BufferedReader and its children inherit this type. Safe-owned values retain provider-side lifecycle.
|
default |
No knobs.
Every field is absent.
|
inline |
|
default |
Copy Safe-owned optional knobs; may allocate and throw.
| other | Source knobs. |
|
defaultnoexcept |
Transfer Safe-owned optional knobs.
| other | Source knobs. |
|
defaultnoexcept |
Release optional knobs through provider callbacks.
|
inlinenoexcept |
Cache cap when the caller set it.
|
inlinenoexcept |
Signed millisecond count when the caller set the wait cap.
|
default |
Copy Safe-owned optional knobs; may allocate and throw.
| other | Source knobs. |
|
defaultnoexcept |
Transfer Safe-owned optional knobs.
| other | Source knobs. |
|
inlinenoexcept |
Prefetch length when the caller set it.
|
inlinenoexcept |
Origin request maximum when the caller supplied it.