Storage layout policy for SQLiteChunkStore.
More...
#include <cpp/a11/stores/sqlite_chunk_store.h>
|
| absl::Status | Validate () const |
| | Validate the threshold, owner id and durations.
|
| |
|
| size_t | inline_data_threshold = 128 * 1024 |
| | Payloads above this size use blob files; smaller ones stay in SQLite.
|
| |
| std::string | owner_id |
| | Owner recorded for attribution and filtering; not enforced.
|
| |
| internal::SqliteSynchronous | synchronous |
| | Durability level applied with PRAGMA synchronous.
|
| |
| absl::Duration | cross_process_poll_interval = absl::ZeroDuration() |
| | Poll interval for commits by other processes; zero disables polling.
|
| |
| absl::Duration | blob_grace_period = absl::Hours(1) |
| | How long an unreferenced blob must survive before a sweep may remove it.
|
| |
Storage layout policy for SQLiteChunkStore.
◆ FromEnvironment()
Read storage policy from the A11_SQLITE_CHUNK_STORE_* environment values.
◆ Validate()
| absl::Status a11::stores::SQLiteChunkStoreOptions::Validate |
( |
| ) |
const |
Validate the threshold, owner id and durations.
◆ operator==
◆ blob_grace_period
| absl::Duration a11::stores::SQLiteChunkStoreOptions::blob_grace_period = absl::Hours(1) |
How long an unreferenced blob must survive before a sweep may remove it.
◆ cross_process_poll_interval
| absl::Duration a11::stores::SQLiteChunkStoreOptions::cross_process_poll_interval = absl::ZeroDuration() |
Poll interval for commits by other processes; zero disables polling.
SQLite change hooks notify only readers in this process.
◆ inline_data_threshold
| size_t a11::stores::SQLiteChunkStoreOptions::inline_data_threshold = 128 * 1024 |
Payloads above this size use blob files; smaller ones stay in SQLite.
◆ owner_id
| std::string a11::stores::SQLiteChunkStoreOptions::owner_id |
Owner recorded for attribution and filtering; not enforced.
◆ synchronous
| internal::SqliteSynchronous a11::stores::SQLiteChunkStoreOptions::synchronous |
Initial value:=
internal::SqliteSynchronous::kNormal
Durability level applied with PRAGMA synchronous.
The documentation for this struct was generated from the following files: