|
Action Engine
|
Options for the ChunkStoreReader.
#include <chunk_store_reader.h>
| size_t act::ChunkStoreReaderOptions::n_chunks_to_buffer = 32 |
The number of chunks to buffer in memory before the background fiber blocks on reading more chunks.
| bool act::ChunkStoreReaderOptions::ordered = true |
Whether to read chunks in the explicit seq order. If false, chunks will be read in the order they arrive in the store. This is useful for streaming data where the order of chunks is not important, such as parallel independent processing of chunks.
| bool act::ChunkStoreReaderOptions::remove_chunks = true |
Whether to remove chunks from the store after reading them. If false, chunks will remain in the store after reading. This is useful if you want to read the same chunks multiple times or if you want to keep the chunks for later processing.
| absl::Duration act::ChunkStoreReaderOptions::timeout = absl::InfiniteDuration() |
The timeout for reading chunks from the store, which applies to the Next() method.