PHP Class malkusch\lock\mutex\PHPRedisMutex
This implementation requires at least phpredis-2.2.4.
Note: If you're going to use this mutex in a forked process, you have to call
{@link seedRandom()} in each instance.
Show file
Open project: malkusch/lock
Public Methods
Protected Methods
Method Details
__construct()
public method
The Redis APIs needs to be connected yet. I.e. Redis::connect() was
called already.
protected add ( $redis, $key, $value, $expire ) |
evalScript()
protected method
getRedisIdentifier()
protected method