Skip to content

Commit 0f3c125

Browse files
committed
MAGETWO-98151: Add support ZooKeeper locks
1 parent 38ef69d commit 0f3c125

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

lib/internal/Magento/Framework/Lock/Backend/Zookeeper.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,8 @@ public function lock(string $name, int $timeout = -1): bool
126126
}
127127

128128
/**
129-
* @inheritdoc
129+
* {@inheritdoc}
130+
* @throws RuntimeException
130131
*/
131132
public function unlock(string $name): bool
132133
{
@@ -138,7 +139,8 @@ public function unlock(string $name): bool
138139
}
139140

140141
/**
141-
* @inheritdoc
142+
* {@inheritdoc}
143+
* @throws RuntimeException
142144
*/
143145
public function isLocked(string $name): bool
144146
{

0 commit comments

Comments
 (0)