A simple file based locking mechanism.
| package | Gems |
|---|---|
| subpackage | Util |
| copyright | Copyright (c) 2011 Erasmus MC |
| license | New BSD License |
| since | Class available since version 1.4.4 |
__construct(string $lockFileName)
stringThe name of the lockfile
getLockTime() : \MUtil_Date
\MUtil_Dateor null when not locked.isLocked() : boolean
booleanlock() : \Gems_Util_LockFile
\Gems_Util_LockFile(continuation pattern)reverse() : \Gems_Util_LockFile
\Gems_Util_LockFile(continuation pattern)unlock() : \Gems_Util_LockFile
\Gems_Util_LockFile(continuation pattern)$lockFileName : string