127 using BufferedWriter::Parameters::Parameters;
172 bool IsSeekable() const noexcept;
178 bool IsSized() const noexcept;
200 parameters.
MaxWait().value_or(
std::chrono::milliseconds{0}),
204 && !parameters.
MaxMemory().has_value()) {}
Private state of StormByte::Buffer::IO::BufferedLocationWriter.
Writer ring cap in WriteChunk units.
Definition parameters.hxx:177
Location-writer knobs.
Definition buffered_location_writer.hxx:125
File-like BufferedWriter.
Definition buffered_location_writer.hxx:119
BufferedLocationWriter(const BufferedLocationWriter &)=delete
Copy constructor is deleted.
BufferedLocationWriter(BufferedLocationWriter &&other) noexcept
Move constructor.
virtual bool OriginDeviceUsable(const StormByte::Shared< StormByte::System::Device > &device) const noexcept
Whether Setup may read windows from device.
virtual StormByte::ByteSize OriginSize() const noexcept=0
Length the leaf can answer.
virtual StormByte::Shared< StormByte::System::Device > OriginDevice() const =0
Leaf measurement.
virtual ~BufferedLocationWriter() noexcept override
Destructor.
BufferedLocationWriter(StormByte::String::String path, enum Location location, StormByte::ByteSize write_chunk, std::size_t back_pressure, std::chrono::milliseconds max_wait, StormByte::ByteSize max_memory, bool probe)
Forward the locator and the sink knobs.
Writer knobs.
Definition buffered_writer.hxx:244
Coordinated binary write sink with optional chunked write-behind and a delayed-seek page map.
Definition buffered_writer.hxx:231
Cache / dirty-page budget knob.
Definition parameters.hxx:102
Origin wait cap.
Definition parameters.hxx:127
Origin push unit.
Definition parameters.hxx:152
Location
Where the bytes of a file-like source or sink live.
Definition typedefs.hxx:140
Root namespace of the StormByte C++ suite.
Per-call status plus how many bytes this call transferred.
Definition typedefs.hxx:168
#define STORMBYTE_BUFFER_PUBLIC
Definition visibility.h:54