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

Error codes for lock operations. More...

Variables

constexpr int already_locked = -100
 Lock already held by another holder.
 
constexpr int not_found = -101
 Lock not found.
 
constexpr int invalid_token = -102
 Invalid token.
 
constexpr int timeout = -103
 Lock timeout exceeded.
 
constexpr int expired = -104
 Lock has expired.
 
constexpr int permission_denied = -105
 Permission denied (force unlock not allowed)
 
constexpr int invalid_type = -106
 Invalid lock type.
 
constexpr int max_shared_exceeded = -107
 Maximum shared locks exceeded.
 
constexpr int upgrade_failed = -108
 Cannot upgrade lock (shared to exclusive)
 

Detailed Description

Error codes for lock operations.

Variable Documentation

◆ already_locked

int kcenon::pacs::workflow::lock_error::already_locked = -100
constexpr

Lock already held by another holder.

Definition at line 252 of file study_lock_manager.h.

Referenced by kcenon::pacs::workflow::study_lock_manager::lock().

◆ expired

int kcenon::pacs::workflow::lock_error::expired = -104
constexpr

Lock has expired.

Definition at line 264 of file study_lock_manager.h.

Referenced by kcenon::pacs::workflow::study_lock_manager::refresh_lock().

◆ invalid_token

int kcenon::pacs::workflow::lock_error::invalid_token = -102
constexpr

◆ invalid_type

int kcenon::pacs::workflow::lock_error::invalid_type = -106
constexpr

Invalid lock type.

Definition at line 270 of file study_lock_manager.h.

◆ max_shared_exceeded

int kcenon::pacs::workflow::lock_error::max_shared_exceeded = -107
constexpr

Maximum shared locks exceeded.

Definition at line 273 of file study_lock_manager.h.

Referenced by kcenon::pacs::workflow::study_lock_manager::lock().

◆ not_found

◆ permission_denied

int kcenon::pacs::workflow::lock_error::permission_denied = -105
constexpr

Permission denied (force unlock not allowed)

Definition at line 267 of file study_lock_manager.h.

Referenced by kcenon::pacs::workflow::study_lock_manager::force_unlock(), and kcenon::pacs::workflow::study_lock_manager::unlock().

◆ timeout

int kcenon::pacs::workflow::lock_error::timeout = -103
constexpr

Lock timeout exceeded.

Definition at line 261 of file study_lock_manager.h.

◆ upgrade_failed

int kcenon::pacs::workflow::lock_error::upgrade_failed = -108
constexpr

Cannot upgrade lock (shared to exclusive)

Definition at line 276 of file study_lock_manager.h.