A11 (C++ runtime)
Native C++ implementation of the A11 action and streaming runtime
Loading...
Searching...
No Matches
a11::stores::RedisChunkStoreMetadata Struct Reference

Node-level state read directly from the metadata hash, without chunks. More...

#include <cpp/a11/stores/redis_chunk_store.h>

Public Attributes

std::string id
 Node id persisted with the key set.
 
bool closed = false
 Whether writes have been sealed.
 
std::optional< absl::Status > status
 Terminal status when closed.
 
std::optional< std::uint32_t > final_seq
 Logical final fragment, if marked.
 
size_t size = 0
 Number of fragment slots currently indexed.
 
std::uint64_t total_chunks_put = 0
 Lifetime successful write count.
 
std::uint64_t next_cursor = 0
 Cursor used by Next() reads.
 
std::optional< std::uint32_t > max_seq
 Greatest assigned sequence.
 
std::uint64_t revision = 0
 Monotonic state-change revision.
 

Detailed Description

Node-level state read directly from the metadata hash, without chunks.

Member Data Documentation

◆ closed

bool a11::stores::RedisChunkStoreMetadata::closed = false

Whether writes have been sealed.

◆ final_seq

std::optional<std::uint32_t> a11::stores::RedisChunkStoreMetadata::final_seq

Logical final fragment, if marked.

◆ id

std::string a11::stores::RedisChunkStoreMetadata::id

Node id persisted with the key set.

◆ max_seq

std::optional<std::uint32_t> a11::stores::RedisChunkStoreMetadata::max_seq

Greatest assigned sequence.

◆ next_cursor

std::uint64_t a11::stores::RedisChunkStoreMetadata::next_cursor = 0

Cursor used by Next() reads.

◆ revision

std::uint64_t a11::stores::RedisChunkStoreMetadata::revision = 0

Monotonic state-change revision.

◆ size

size_t a11::stores::RedisChunkStoreMetadata::size = 0

Number of fragment slots currently indexed.

◆ status

std::optional<absl::Status> a11::stores::RedisChunkStoreMetadata::status

Terminal status when closed.

◆ total_chunks_put

std::uint64_t a11::stores::RedisChunkStoreMetadata::total_chunks_put = 0

Lifetime successful write count.


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