|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Tunables controlling how a ChunkStoreWriter batches and buffers chunks. More...
#include <cpp/a11/stores/chunk_store_writer.h>
Public Member Functions | |
| absl::Status | Validate () const |
| Validate that the options are internally consistent. | |
Public Attributes | |
| std::uint32_t | offset = 0 |
| Sequence number at which writing begins. | |
| std::uint64_t | max_chunks_to_write_at_once = 8 |
| Maximum number of chunks flushed to the store per batch. | |
| std::optional< std::uint64_t > | num_chunks_to_buffer |
| Optional bound on the in-flight write buffer size. | |
| bool | sticky_mimetype = false |
| Whether repeated contiguous chunk mimetypes are omitted when writing. | |
Tunables controlling how a ChunkStoreWriter batches and buffers chunks.
Configures the starting offset, how many chunks are flushed to the store per batch, and an optional bound on the in-flight write buffer that governs backpressure. Sticky mimetypes can omit repeated MIME metadata while keeping explicit sequence discontinuities self-describing.
| absl::Status a11::stores::ChunkStoreWriterOptions::Validate | ( | ) | const |
Validate that the options are internally consistent.
| std::uint64_t a11::stores::ChunkStoreWriterOptions::max_chunks_to_write_at_once = 8 |
Maximum number of chunks flushed to the store per batch.
| std::optional<std::uint64_t> a11::stores::ChunkStoreWriterOptions::num_chunks_to_buffer |
Optional bound on the in-flight write buffer size.
| std::uint32_t a11::stores::ChunkStoreWriterOptions::offset = 0 |
Sequence number at which writing begins.
Whether repeated contiguous chunk mimetypes are omitted when writing.