Struct LockInfo
Defined in File lock_manager.hpp
Struct Documentation
-
struct LockInfo
Information about an active lock.
Public Members
-
std::string lock_id
Unique lock identifier (“lock_<uuid>”)
-
std::string entity_id
Locked entity ID.
-
std::string client_id
Client that holds the lock.
-
std::vector<std::string> scopes
Locked resource collections (empty = all)
-
bool breakable = true
Whether this lock can be broken.
-
std::chrono::steady_clock::time_point created_at
When the lock was acquired.
-
std::chrono::steady_clock::time_point expires_at
When the lock expires.
-
int expiration_seconds = 0
Original requested expiration.
-
std::string lock_id