Antares Xpansion
Investment simulations for Antares studies
Loading...
Searching...
No Matches
antares_xpansion.study_locker.StudyLocker Class Reference

Classes

class  CorruptedLockerFile
 
class  Locked
 
class  NotAValidDirectory
 

Public Member Functions

None __init__ (self, Path study_dir)
 
 lock (self)
 
 unlock (self)
 
 locker_file_missing_or_empty (self)
 
 raise_corrupted_file_exception (self)
 

Public Attributes

 logger
 
 study_dir
 
 locker_file
 

Protected Member Functions

 _set_study_dir (self, study_dir)
 
 _is_locked (self)
 
 _is_locked_by_another_process (self)
 
 _get_pid_from_locker_file (self)
 
 _get_pid_from_non_blank_line (self, str line)
 
 _lock (self)
 

Detailed Description

    class responsible for locking a study

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