Signet Forge 0.1.0
C++20 Parquet library with AI-native extensions
DEMO
Loading...
Searching...
No Matches
signet::forge::RetentionSummary Struct Reference

Summary of a retention enforcement pass. More...

#include <log_retention.hpp>

Public Attributes

int64_t files_scanned = 0
 Number of files scanned.
 
int64_t files_active = 0
 Number of files within active retention window.
 
int64_t files_archived = 0
 Number of files archived (or would be archived in dry-run).
 
int64_t files_deleted = 0
 Number of files deleted (or would be deleted in dry-run).
 
int64_t files_failed = 0
 Number of files that failed archival or deletion.
 
uint64_t active_size_bytes = 0
 Total size of active files in bytes.
 
uint64_t archived_size_bytes = 0
 Total size of archived files in bytes.
 
uint64_t deleted_size_bytes = 0
 Total size of deleted files in bytes.
 
bool dry_run = true
 Whether the enforcement pass was a dry-run.
 
std::vector< std::string > archived_paths
 Paths of files that were archived.
 
std::vector< std::string > deleted_paths
 Paths of files that were deleted.
 
std::vector< std::string > errors
 Error messages from failed operations.
 

Detailed Description

Summary of a retention enforcement pass.

Definition at line 91 of file log_retention.hpp.

Member Data Documentation

◆ active_size_bytes

uint64_t signet::forge::RetentionSummary::active_size_bytes = 0

Total size of active files in bytes.

Definition at line 108 of file log_retention.hpp.

◆ archived_paths

std::vector<std::string> signet::forge::RetentionSummary::archived_paths

Paths of files that were archived.

Definition at line 120 of file log_retention.hpp.

◆ archived_size_bytes

uint64_t signet::forge::RetentionSummary::archived_size_bytes = 0

Total size of archived files in bytes.

Definition at line 111 of file log_retention.hpp.

◆ deleted_paths

std::vector<std::string> signet::forge::RetentionSummary::deleted_paths

Paths of files that were deleted.

Definition at line 123 of file log_retention.hpp.

◆ deleted_size_bytes

uint64_t signet::forge::RetentionSummary::deleted_size_bytes = 0

Total size of deleted files in bytes.

Definition at line 114 of file log_retention.hpp.

◆ dry_run

bool signet::forge::RetentionSummary::dry_run = true

Whether the enforcement pass was a dry-run.

Definition at line 117 of file log_retention.hpp.

◆ errors

std::vector<std::string> signet::forge::RetentionSummary::errors

Error messages from failed operations.

Definition at line 126 of file log_retention.hpp.

◆ files_active

int64_t signet::forge::RetentionSummary::files_active = 0

Number of files within active retention window.

Definition at line 96 of file log_retention.hpp.

◆ files_archived

int64_t signet::forge::RetentionSummary::files_archived = 0

Number of files archived (or would be archived in dry-run).

Definition at line 99 of file log_retention.hpp.

◆ files_deleted

int64_t signet::forge::RetentionSummary::files_deleted = 0

Number of files deleted (or would be deleted in dry-run).

Definition at line 102 of file log_retention.hpp.

◆ files_failed

int64_t signet::forge::RetentionSummary::files_failed = 0

Number of files that failed archival or deletion.

Definition at line 105 of file log_retention.hpp.

◆ files_scanned

int64_t signet::forge::RetentionSummary::files_scanned = 0

Number of files scanned.

Definition at line 93 of file log_retention.hpp.


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