Skip to main content

Module retention_engine

Module retention_engine 

Source
Expand description

Retention Policy Engine for IPFRS block storage.

Evaluates which blocks to retain or expire based on configurable retention policies, supporting pinning, TTLs, access-frequency thresholds, and size limits.

Structs§

BlockRecord
Record describing a stored block and its metadata.
PolicyConfig
Configuration for the RetentionPolicyEngine.
RetentionEngineStats
Aggregate statistics for the retention engine since last reset.
RetentionPolicyEngine
Engine that evaluates block retention decisions against a PolicyConfig.

Enums§

RetentionDecision
Decision made by the retention policy engine for a block.
RetentionRule
A single retention rule that can match a block and produce a decision.