malkusch\lock\mutex\SpinlockMutex::acquire PHP Метод

acquire() абстрактный защищенный Метод

Tries to acquire a lock.
abstract protected acquire ( string $key, integer $expire ) : boolean
$key string The lock key.
$expire integer The timeout in seconds when a lock expires.
Результат boolean True, if the lock could be acquired.
    protected abstract function acquire($key, $expire);