|
A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
|
Tunables controlling how a ChunkStoreReader delivers and buffers fragments. More...
#include <cpp/a11/stores/chunk_store_reader.h>
Public Member Functions | |
| absl::Status | Validate () const |
| Validate that the options are internally consistent. | |
Public Attributes | |
| bool | ordered = true |
| Whether fragments are delivered strictly in sequence order. | |
| bool | pop_chunks = false |
| Whether fragments are removed from the store as they are read. | |
| std::uint64_t | num_chunks_to_buffer = 32 |
| Maximum number of fragments to prefetch into the buffer. | |
| std::uint32_t | offset = 0 |
| Sequence number at which reading begins. | |
| std::optional< std::uint64_t > | max_chunks_to_read |
| Optional cap on the total number of fragments to read. | |
| bool | sticky_mimetype = false |
| Whether ordered reads inherit the last explicitly set chunk mimetype. | |
Tunables controlling how a ChunkStoreReader delivers and buffers fragments.
Configures ordering, prefetch depth, the starting offset, whether fragments are removed from the store as they are read, an optional cap on the total number read, and whether ordered reads expand sticky mimetypes.
| absl::Status a11::stores::ChunkStoreReaderOptions::Validate | ( | ) | const |
Validate that the options are internally consistent.
| std::optional<std::uint64_t> a11::stores::ChunkStoreReaderOptions::max_chunks_to_read |
Optional cap on the total number of fragments to read.
| std::uint64_t a11::stores::ChunkStoreReaderOptions::num_chunks_to_buffer = 32 |
Maximum number of fragments to prefetch into the buffer.
| std::uint32_t a11::stores::ChunkStoreReaderOptions::offset = 0 |
Sequence number at which reading begins.
Whether fragments are delivered strictly in sequence order.
Whether fragments are removed from the store as they are read.
Whether ordered reads inherit the last explicitly set chunk mimetype.