class Redis extends Base

锁机制Redis驱动

Methods

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

上锁

Details

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

上锁

Parameters

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

Return Value

mixed