|
PACS System 0.1.0
PACS DICOM system library
|
Configuration for the auto prefetch service. More...
#include <prefetch_config.h>

Public Types | |
| using | cycle_complete_callback |
| Callback for prefetch cycle completion. | |
| using | prefetch_complete_callback |
| Callback for individual prefetch completion. | |
| using | error_callback |
| Callback for prefetch errors. | |
Public Member Functions | |
| auto | is_valid () const noexcept -> bool |
| Check if configuration is valid. | |
Public Attributes | |
| bool | enabled {true} |
| Enable/disable the prefetch service. | |
| std::chrono::seconds | prefetch_interval {300} |
| Interval between prefetch cycles (default: 5 minutes) | |
| std::size_t | max_concurrent_prefetches {4} |
| Maximum concurrent prefetch operations. | |
| bool | auto_start {false} |
| Whether to start automatically on construction. | |
| std::vector< remote_pacs_config > | remote_pacs |
| Remote PACS configurations (can prefetch from multiple sources) | |
| prefetch_criteria | criteria |
| Selection criteria for prior studies. | |
| std::size_t | rate_limit_per_minute {0} |
| Rate limit: maximum prefetches per minute (0 = unlimited) | |
| bool | retry_on_failure {true} |
| Retry failed prefetches. | |
| std::size_t | max_retry_attempts {3} |
| Maximum retry attempts. | |
| std::chrono::seconds | retry_delay {60} |
| Delay between retries. | |
| cycle_complete_callback | on_cycle_complete |
| prefetch_complete_callback | on_prefetch_complete |
| error_callback | on_prefetch_error |
Configuration for the auto prefetch service.
Comprehensive configuration for controlling automatic prefetching of prior studies based on worklist queries.
Definition at line 202 of file prefetch_config.h.
Callback for prefetch cycle completion.
Definition at line 234 of file prefetch_config.h.
Callback for prefetch errors.
Definition at line 247 of file prefetch_config.h.
Callback for individual prefetch completion.
Definition at line 239 of file prefetch_config.h.
|
inlinenodiscardnoexcept |
Check if configuration is valid.
Definition at line 257 of file prefetch_config.h.
References enabled, and remote_pacs.
| bool kcenon::pacs::workflow::prefetch_service_config::auto_start {false} |
Whether to start automatically on construction.
Definition at line 213 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service(), kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service(), and kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service().
| prefetch_criteria kcenon::pacs::workflow::prefetch_service_config::criteria |
Selection criteria for prior studies.
Definition at line 219 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::get_prefetch_criteria(), and kcenon::pacs::workflow::auto_prefetch_service::set_prefetch_criteria().
| bool kcenon::pacs::workflow::prefetch_service_config::enabled {true} |
Enable/disable the prefetch service.
Definition at line 204 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service(), kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service(), kcenon::pacs::workflow::auto_prefetch_service::auto_prefetch_service(), and is_valid().
| std::size_t kcenon::pacs::workflow::prefetch_service_config::max_concurrent_prefetches {4} |
Maximum concurrent prefetch operations.
Definition at line 210 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::start().
| std::size_t kcenon::pacs::workflow::prefetch_service_config::max_retry_attempts {3} |
| cycle_complete_callback kcenon::pacs::workflow::prefetch_service_config::on_cycle_complete |
Definition at line 236 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::run_loop(), and kcenon::pacs::workflow::auto_prefetch_service::set_cycle_complete_callback().
| prefetch_complete_callback kcenon::pacs::workflow::prefetch_service_config::on_prefetch_complete |
Definition at line 244 of file prefetch_config.h.
| error_callback kcenon::pacs::workflow::prefetch_service_config::on_prefetch_error |
Definition at line 251 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::set_error_callback().
| std::chrono::seconds kcenon::pacs::workflow::prefetch_service_config::prefetch_interval {300} |
Interval between prefetch cycles (default: 5 minutes)
Definition at line 207 of file prefetch_config.h.
Referenced by kcenon::pacs::workflow::auto_prefetch_service::get_prefetch_interval(), kcenon::pacs::workflow::auto_prefetch_service::run_loop(), kcenon::pacs::workflow::auto_prefetch_service::set_prefetch_interval(), and kcenon::pacs::workflow::auto_prefetch_service::start().
| std::size_t kcenon::pacs::workflow::prefetch_service_config::rate_limit_per_minute {0} |
Rate limit: maximum prefetches per minute (0 = unlimited)
Definition at line 222 of file prefetch_config.h.
| std::vector<remote_pacs_config> kcenon::pacs::workflow::prefetch_service_config::remote_pacs |
Remote PACS configurations (can prefetch from multiple sources)
Definition at line 216 of file prefetch_config.h.
Referenced by is_valid().
| std::chrono::seconds kcenon::pacs::workflow::prefetch_service_config::retry_delay {60} |
| bool kcenon::pacs::workflow::prefetch_service_config::retry_on_failure {true} |