|
PACS System 0.1.0
PACS DICOM system library
|
Result of a migration operation. More...
#include <hsm_types.h>

Public Member Functions | |
| auto | is_success () const noexcept -> bool |
| Check if the migration was completely successful. | |
| auto | total_processed () const noexcept -> std::size_t |
| Get the total number of instances processed. | |
Public Attributes | |
| std::size_t | instances_migrated {0} |
| Number of instances successfully migrated. | |
| std::size_t | bytes_migrated {0} |
| Total bytes migrated. | |
| std::chrono::milliseconds | duration {0} |
| Duration of the migration operation. | |
| std::vector< std::string > | failed_uids |
| SOP Instance UIDs that failed to migrate. | |
| std::size_t | instances_skipped {0} |
| Number of instances that were skipped (not eligible) | |
Result of a migration operation.
Definition at line 230 of file hsm_types.h.
|
inlinenodiscardnoexcept |
Check if the migration was completely successful.
Definition at line 250 of file hsm_types.h.
References failed_uids.
|
inlinenodiscardnoexcept |
Get the total number of instances processed.
Definition at line 257 of file hsm_types.h.
References failed_uids, instances_migrated, and instances_skipped.
| std::size_t kcenon::pacs::storage::migration_result::bytes_migrated {0} |
Total bytes migrated.
Definition at line 235 of file hsm_types.h.
Referenced by kcenon::pacs::storage::hsm_storage::run_migration_cycle(), and kcenon::pacs::storage::hsm_migration_service::update_stats().
| std::chrono::milliseconds kcenon::pacs::storage::migration_result::duration {0} |
Duration of the migration operation.
Definition at line 238 of file hsm_types.h.
Referenced by kcenon::pacs::storage::hsm_storage::run_migration_cycle(), and kcenon::pacs::storage::hsm_migration_service::update_stats().
| std::vector<std::string> kcenon::pacs::storage::migration_result::failed_uids |
SOP Instance UIDs that failed to migrate.
Definition at line 241 of file hsm_types.h.
Referenced by is_success(), kcenon::pacs::storage::hsm_storage::run_migration_cycle(), total_processed(), and kcenon::pacs::storage::hsm_migration_service::update_stats().
| std::size_t kcenon::pacs::storage::migration_result::instances_migrated {0} |
Number of instances successfully migrated.
Definition at line 232 of file hsm_types.h.
Referenced by kcenon::pacs::storage::hsm_storage::run_migration_cycle(), total_processed(), and kcenon::pacs::storage::hsm_migration_service::update_stats().
| std::size_t kcenon::pacs::storage::migration_result::instances_skipped {0} |
Number of instances that were skipped (not eligible)
Definition at line 244 of file hsm_types.h.
Referenced by total_processed(), and kcenon::pacs::storage::hsm_migration_service::update_stats().