StormByte-Buffer 4.0.0
C++26 buffer module of the StormByte suite
Loading...
Searching...
No Matches
StormByte::Buffer::IO::WriterConfiguration Struct Reference

Complete non-owning writer policy; Configure applies all fields together. More...

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

Collaboration diagram for StormByte::Buffer::IO::WriterConfiguration:

Public Attributes

StormByte::ByteSize WriteChunk {0}
 Ring unit and drain trigger.
std::size_t BackPressure {0}
 Ring capacity in chunk units.
std::int64_t MaxWaitMilliseconds {0}
 Wait cap; zero is unlimited.
StormByte::ByteSize MaxMemory {0}
 Dirty page payload budget.
StormByte::ByteSize WriteTransfer {0}
 Universal push maximum; zero is unlimited.
StormByte::ByteSize WriteThreshold {0}
 Drain high watermark; zero is pressure only.

Detailed Description

Complete non-owning writer policy; Configure applies all fields together.

Member Data Documentation

◆ BackPressure

std::size_t StormByte::Buffer::IO::WriterConfiguration::BackPressure {0}

Ring capacity in chunk units.

◆ MaxMemory

StormByte::ByteSize StormByte::Buffer::IO::WriterConfiguration::MaxMemory {0}

Dirty page payload budget.

◆ MaxWaitMilliseconds

std::int64_t StormByte::Buffer::IO::WriterConfiguration::MaxWaitMilliseconds {0}

Wait cap; zero is unlimited.

◆ WriteChunk

StormByte::ByteSize StormByte::Buffer::IO::WriterConfiguration::WriteChunk {0}

Ring unit and drain trigger.

◆ WriteThreshold

StormByte::ByteSize StormByte::Buffer::IO::WriterConfiguration::WriteThreshold {0}

Drain high watermark; zero is pressure only.

◆ WriteTransfer

StormByte::ByteSize StormByte::Buffer::IO::WriterConfiguration::WriteTransfer {0}

Universal push maximum; zero is unlimited.


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