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

Storage layout policy for RedisChunkStore. More...

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

Public Member Functions

absl::Status Validate () const
 Validate the key prefix and inline-data threshold.
 

Static Public Member Functions

static absl::StatusOr< RedisChunkStoreOptionsFromEnvironment ()
 Read storage policy from the A11_REDIS_CHUNK_STORE_* environment values.
 

Public Attributes

std::string key_prefix = "a11:"
 Prefix before the per-node Redis Cluster hash tag.
 
size_t inline_data_threshold = 256 * 1024
 Raw chunk bytes larger than this are moved to the separate blob hash.
 

Friends

bool operator== (const RedisChunkStoreOptions &, const RedisChunkStoreOptions &)=default
 

Detailed Description

Storage layout policy for RedisChunkStore.

Member Function Documentation

◆ FromEnvironment()

absl::StatusOr< RedisChunkStoreOptions > a11::stores::RedisChunkStoreOptions::FromEnvironment ( )
static

Read storage policy from the A11_REDIS_CHUNK_STORE_* environment values.

◆ Validate()

absl::Status a11::stores::RedisChunkStoreOptions::Validate ( ) const

Validate the key prefix and inline-data threshold.

Friends And Related Symbol Documentation

◆ operator==

Member Data Documentation

◆ inline_data_threshold

size_t a11::stores::RedisChunkStoreOptions::inline_data_threshold = 256 * 1024

Raw chunk bytes larger than this are moved to the separate blob hash.

◆ key_prefix

std::string a11::stores::RedisChunkStoreOptions::key_prefix = "a11:"

Prefix before the per-node Redis Cluster hash tag.


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