/home/techb158/ileadtechnology.com/SSM/vendor/laravel/framework/src/Illuminate/Cache
NameSizeModeActions
Console/-0755rm
Events/-0755rm
ApcStore.php25860644editdlrm
ApcWrapper.php18980644editdlrm
ArrayLock.php20800644editdlrm
ArrayStore.php46500644editdlrm
CacheManager.php96410644editdlrm
CacheServiceProvider.php11160644editdlrm
composer.json12190644editdlrm
DatabaseStore.php75830644editdlrm
DynamoDbLock.php14860644editdlrm
DynamoDbStore.php146640644editdlrm
FileStore.php68760644editdlrm
LICENSE.md10750644editdlrm
Lock.php30210644editdlrm
LuaScripts.php4620644editdlrm
MemcachedConnector.php23820644editdlrm
MemcachedLock.php14530644editdlrm
MemcachedStore.php63260644editdlrm
NullStore.php17250644editdlrm
RateLimiter.php28800644editdlrm
RedisLock.php15810644editdlrm
RedisStore.php71000644editdlrm
RedisTaggedCache.php47770644editdlrm
Repository.php159810644editdlrm
RetrievesMultipleKeys.php9540644editdlrm
TaggableStore.php4210644editdlrm
TaggedCache.php25100644editdlrm
TagSet.php21500644editdlrm
Edit: /home/techb158/ileadtechnology.com/SSM/vendor/laravel/framework/src/Illuminate/Cache/Lock.php (3021B)
name = $name; $this->owner = $owner; $this->seconds = $seconds; } /** * Attempt to acquire the lock. * * @return bool */ abstract public function acquire(); /** * Release the lock. * * @return bool */ abstract public function release(); /** * Returns the owner value written into the driver for this lock. * * @return string */ abstract protected function getCurrentOwner(); /** * Attempt to acquire the lock. * * @param callable|null $callback * @return mixed */ public function get($callback = null) { $result = $this->acquire(); if ($result && is_callable($callback)) { try { return $callback(); } finally { $this->release(); } } return $result; } /** * Attempt to acquire the lock for the given number of seconds. * * @param int $seconds * @param callable|null $callback * @return bool * * @throws \Illuminate\Contracts\Cache\LockTimeoutException */ public function block($seconds, $callback = null) { $starting = $this->currentTime(); while (! $this->acquire()) { usleep(250 * 1000); if ($this->currentTime() - $seconds >= $starting) { throw new LockTimeoutException; } } if (is_callable($callback)) { try { return $callback(); } finally { $this->release(); } } return true; } /** * Returns the current owner of the lock. * * @return string */ public function owner() { return $this->owner; } /** * Determines whether this lock is allowed to release the lock in the driver. * * @return bool */ protected function isOwnedByCurrentProcess() { return $this->getCurrentOwner() === $this->owner; } }