File tree 1 file changed +3
-0
lines changed
lib/internal/Magento/Framework/Lock/Backend 1 file changed +3
-0
lines changed Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ public function __construct(
28
28
* @param string $name lock name
29
29
* @param int $timeout How long to wait lock acquisition in seconds, negative value means infinite timeout
30
30
* @return bool
31
+ * @throws InputException
31
32
*/
32
33
public function setLock (string $ name , int $ timeout = -1 ): bool
33
34
{
@@ -42,6 +43,7 @@ public function setLock(string $name, int $timeout = -1): bool
42
43
*
43
44
* @param string $name lock name
44
45
* @return bool
46
+ * @throws InputException
45
47
*/
46
48
public function releaseLock (string $ name ): bool
47
49
{
@@ -55,6 +57,7 @@ public function releaseLock(string $name): bool
55
57
*
56
58
* @param string $name lock name
57
59
* @return bool
60
+ * @throws InputException
58
61
*/
59
62
public function isLocked (string $ name ): bool
60
63
{
You can’t perform that action at this time.
0 commit comments