Property | Type | Description | |
---|---|---|---|
$client | phpredis connection |
Method | Description | |
---|---|---|
__construct ( Redis $client ) | ||
isLocked ( string $name ) : boolean | Check if lock is locked | |
releaseLock ( string $name ) : boolean | Release lock |
Method | Description | |
---|---|---|
getLock ( string $name, boolean $blocking ) : boolean |
public releaseLock ( string $name ) : boolean | ||
$name | string | name of lock |
return | boolean |