Writer knobs. More...
#include <StormByte/buffer/io/buffered_writer.hxx>


Public Member Functions | |
| STORMBYTE_FORCE_INLINE | WriterParameters () noexcept=default |
| No knobs. | |
| template<typename... Knobs> | |
| STORMBYTE_FORCE_INLINE | WriterParameters (Knobs... knobs) |
| Engage the listed knobs. | |
Public Member Functions inherited from StormByte::Buffer::IO::WriterParameters | |
| STORMBYTE_FORCE_INLINE | WriterParameters () noexcept=default |
| No knobs. | |
| template<typename... Knobs> | |
| STORMBYTE_FORCE_INLINE | WriterParameters (Knobs... knobs) |
| Engage the listed knobs. | |
| STORMBYTE_FORCE_INLINE const std::optional< StormByte::ByteSize > & | WriteChunk () const noexcept |
| Chunk size when the caller set it. | |
| STORMBYTE_FORCE_INLINE const std::optional< std::size_t > & | BackPressure () const noexcept |
| Backpressure when the caller set it. | |
| STORMBYTE_FORCE_INLINE const std::optional< StormByte::ByteSize > & | MaxMemory () const noexcept |
| Dirty-page budget when the caller set it. | |
| STORMBYTE_FORCE_INLINE const std::optional< std::chrono::milliseconds > & | MaxWait () const noexcept |
| Wait cap when the caller set it. | |
Writer 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 |
Engage the listed knobs.
Unknown types do not compile.
| Knobs | WriteChunk, BackPressure, MaxMemory and/or MaxWait. |
| knobs | Values to store. |