class Memcache extends Base

锁机制Memcache驱动

Methods

mixed
lock( string $key, bool $wouldBlock = false)

上锁

Details

at line line 31
mixed lock( string $key, bool $wouldBlock = false)

上锁

Parameters

string $key 要解锁的锁的key
bool $wouldBlock 是否堵塞

Return Value

mixed