|
PACS System 0.1.0
PACS DICOM system library
|
#include <hsm_types.h>

Public Member Functions | |
| auto | operator== (const tier_policy &other) const noexcept -> bool=default |
| Check if two policies are equal. | |
Public Attributes | |
| std::chrono::days | hot_to_warm {30} |
| Time threshold for migrating from hot to warm tier Default: 30 days. | |
| std::chrono::days | warm_to_cold {365} |
| Time threshold for migrating from warm to cold tier Default: 365 days (1 year) | |
| bool | auto_migrate {true} |
| Enable automatic background migration When false, migration must be triggered manually. | |
| std::size_t | min_migration_size {0} |
| Minimum size in bytes for an instance to be considered for migration Smaller instances may not be worth the overhead of migration Default: 0 (no minimum) | |
| std::size_t | max_instances_per_cycle {100} |
| Maximum number of instances to migrate per cycle Prevents overwhelming the storage system Default: 100. | |
| std::size_t | max_bytes_per_cycle {10ULL * 1024 * 1024 * 1024} |
| Maximum bytes to migrate per cycle Default: 10 GB. | |
Definition at line 102 of file hsm_types.h.
|
nodiscarddefaultnoexcept |
Check if two policies are equal.
| bool kcenon::pacs::storage::tier_policy::auto_migrate {true} |
Enable automatic background migration When false, migration must be triggered manually.
Definition at line 113 of file hsm_types.h.
| std::chrono::days kcenon::pacs::storage::tier_policy::hot_to_warm {30} |
Time threshold for migrating from hot to warm tier Default: 30 days.
Definition at line 105 of file hsm_types.h.
| std::size_t kcenon::pacs::storage::tier_policy::max_bytes_per_cycle {10ULL * 1024 * 1024 * 1024} |
Maximum bytes to migrate per cycle Default: 10 GB.
Definition at line 127 of file hsm_types.h.
| std::size_t kcenon::pacs::storage::tier_policy::max_instances_per_cycle {100} |
Maximum number of instances to migrate per cycle Prevents overwhelming the storage system Default: 100.
Definition at line 123 of file hsm_types.h.
| std::size_t kcenon::pacs::storage::tier_policy::min_migration_size {0} |
Minimum size in bytes for an instance to be considered for migration Smaller instances may not be worth the overhead of migration Default: 0 (no minimum)
Definition at line 118 of file hsm_types.h.
| std::chrono::days kcenon::pacs::storage::tier_policy::warm_to_cold {365} |
Time threshold for migrating from warm to cold tier Default: 365 days (1 year)
Definition at line 109 of file hsm_types.h.