Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Cml
Interfaces
Lock
setExpire
Cml\Interfaces\Lock::setExpire PHP Method
Lock Interface Documentation
Show file
Open project: linhecheng/cmlphp
setExpire()
public
method
设置锁的过期时间
public
setExpire
(
integer
$expire
= 100 ) :
Redis
$expire
integer
return
Cml\Lock\Redis
| \Cml\Lock\Memcache | \Cml\Lock\File
public function setExpire($expire = 100);
Lock
lock
setExpire
unlock