Lines Matching refs:this
32 $this->path = $apiConfig['ioFileCache_directory'];
70 } while ($cnt <= $tries && $this->isLocked($storageFile));
71 if ($this->isLocked($storageFile)) {
73 $this->removeLock($storageFile);
81 return $this->path . '/' . substr($hash, 0, 2);
85 return $this->getCacheDir($hash) . '/' . $hash;
89 $storageFile = $this->getCacheFile(md5($key));
93 if ($this->isLocked($storageFile)) {
94 $this->waitForLock($storageFile);
109 $storageDir = $this->getCacheDir(md5($key));
110 $storageFile = $this->getCacheFile(md5($key));
111 if ($this->isLocked($storageFile)) {
113 $this->waitForLock($storageFile);
123 $this->createLock($storageFile);
125 $this->removeLock($storageFile);
128 $this->removeLock($storageFile);
132 $file = $this->getCacheFile(md5($key));