Lines Matching refs:lockFile
38 private string $lockFile; variable in ComboStrap\\Lock
60 $this->lockFile = $conf['lockdir'] . "/_{$this->lockName}.lock";
94 if (is_file($this->lockFile) && (time() - @filemtime($this->lockFile)) > 60 * 10) {
95 if (!@unlink($this->lockFile)) {
96 … throw new ExceptionRuntimeInternal("Removing the lock failed ($this->lockFile)");
101 …throw new ExceptionTimeOut("Unable to get the lock ($this->lockFile) for ($this->timeOut) seconds"…
106 chmod($this->lockFile, $this->perm);
156 if (file_exists($this->lockFile)) {
157 unlink($this->lockFile);
163 return !file_exists($this->lockFile);
168 return file_exists($this->lockFile);
186 if (file_exists($this->lockFile)) {
192 $this->filePointer = fopen($this->lockFile, $mode);