PACS System 0.1.0
PACS DICOM system library
Loading...
Searching...
No Matches
kcenon::pacs::workflow::study_lock_manager_config Struct Reference

Configuration for the study lock manager. More...

#include <study_lock_manager.h>

Collaboration diagram for kcenon::pacs::workflow::study_lock_manager_config:
Collaboration graph

Public Attributes

std::chrono::seconds default_timeout {0}
 Default lock timeout (0 = no timeout)
 
std::chrono::milliseconds acquire_wait_timeout {5000}
 Maximum time to wait when trying to acquire a lock.
 
std::chrono::seconds cleanup_interval {60}
 How often to check for expired locks.
 
bool auto_cleanup {true}
 Enable automatic cleanup of expired locks.
 
std::size_t max_shared_locks {100}
 Maximum number of concurrent shared locks.
 
bool allow_force_unlock {true}
 Allow force unlock for admin operations.
 

Detailed Description

Configuration for the study lock manager.

Definition at line 181 of file study_lock_manager.h.

Member Data Documentation

◆ acquire_wait_timeout

std::chrono::milliseconds kcenon::pacs::workflow::study_lock_manager_config::acquire_wait_timeout {5000}

Maximum time to wait when trying to acquire a lock.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 186 of file study_lock_manager.h.

186{5000};

◆ allow_force_unlock

bool kcenon::pacs::workflow::study_lock_manager_config::allow_force_unlock {true}

Allow force unlock for admin operations.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 198 of file study_lock_manager.h.

198{true};

◆ auto_cleanup

bool kcenon::pacs::workflow::study_lock_manager_config::auto_cleanup {true}

Enable automatic cleanup of expired locks.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 192 of file study_lock_manager.h.

192{true};

◆ cleanup_interval

std::chrono::seconds kcenon::pacs::workflow::study_lock_manager_config::cleanup_interval {60}

How often to check for expired locks.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 189 of file study_lock_manager.h.

189{60};

◆ default_timeout

std::chrono::seconds kcenon::pacs::workflow::study_lock_manager_config::default_timeout {0}

Default lock timeout (0 = no timeout)

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 183 of file study_lock_manager.h.

183{0};

◆ max_shared_locks

std::size_t kcenon::pacs::workflow::study_lock_manager_config::max_shared_locks {100}

Maximum number of concurrent shared locks.

Examples
/home/runner/work/pacs_system/pacs_system/include/kcenon/pacs/workflow/study_lock_manager.h.

Definition at line 195 of file study_lock_manager.h.

195{100};

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