longyi c9405dd336 vendor %!s(int64=5) %!d(string=hai) anos
..
Backend c9405dd336 vendor %!s(int64=5) %!d(string=hai) anos
Test c9405dd336 vendor %!s(int64=5) %!d(string=hai) anos
LockManagerInterface.php c9405dd336 vendor %!s(int64=5) %!d(string=hai) anos
README.md c9405dd336 vendor %!s(int64=5) %!d(string=hai) anos

README.md

Lock library

Lock library provides mechanism to acquire Magento system-wide lock. Default implementation is based on MySQL locks, where any locks are automatically released on connection close.

The library provides interface LockManagerInterface which provides following methods:

  • lock - Acquires a named lock
  • unlock - Releases a named lock
  • isLocked - Tests if a named lock exists