8 #include <hds_db/base/defines.hpp>
34 const std::string &i_project,
35 const std::string &i_comment):
Definition: locker.hpp:20
uint64_t DbIndex
Definition: defines.hpp:26
LockType type
Definition: locker.hpp:40
Definition: locker.hpp:50
std::string name
Definition: locker.hpp:39
LockDescription()
Definition: locker.hpp:27
ErrCode
Definition: defines.hpp:46
virtual ErrCode lastError() const =0
LockDescription(const std::string &i_name, const LockType &i_type, const std::string &i_project, const std::string &i_comment)
Definition: locker.hpp:32
Definition: locker.hpp:19
std::string comment
Definition: locker.hpp:42
virtual DbIndex lock(const LockDescription &ld)=0
virtual void release(const DbIndex &id)=0
time_t timestamp
Definition: locker.hpp:43
LockType
Definition: locker.hpp:17
virtual void list(LockDescriptionVec &locks)=0
std::vector< LockDescription > LockDescriptionVec
Definition: locker.hpp:47
std::string project
Definition: locker.hpp:41
Definition: locker.hpp:24
virtual size_t releaseAll()=0