Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Jamm
Memory
IMemoryStorage
lock_key
Jamm\Memory\IMemoryStorage::lock_key PHP Метод
Документация по интерфейсу IMemoryStorage
Показать файл
Открыть проект
lock_key()
публичный
Метод
Get exclusive mutex for key. Key will be still accessible to read and write, but another process can exclude dog-pile effect, if before updating the key he will try to get this mutex.
public
lock_key
(
mixed
$key
,
mixed
&
$auto_unlocker_variable
)
$key
mixed
$auto_unlocker_variable
mixed
- pass empty, just declared variable
public function lock_key($key, &$auto_unlocker_variable);
IMemoryStorage
acquire_key
add
del
del_by_tags
del_old
getErrLog
getLastErr
get_ID
get_keys
get_stat
increment
lock_key
read
save
select_fx
set_ID
set_errors_triggering
unlock_key