public function Redis_Lock_Backend_Interface::lockMayBeAvailable in Redis 7
Same name and namespace in other branches
- 7.2 lib/Redis/Lock/Backend/Interface.php \Redis_Lock_Backend_Interface::lockMayBeAvailable()
Check if lock is available for acquire.
Parameters
string $name: Lock to acquire.
Return value
bool
2 methods override Redis_Lock_Backend_Interface::lockMayBeAvailable()
- Redis_Lock_Backend_PhpRedis::lockMayBeAvailable in lib/
Redis/ Lock/ Backend/ PhpRedis.php - Check if lock is available for acquire.
- Redis_Lock_Backend_Predis::lockMayBeAvailable in lib/
Redis/ Lock/ Backend/ Predis.php - Check if lock is available for acquire.
File
- lib/
Redis/ Lock/ Backend/ Interface.php, line 27
Class
- Redis_Lock_Backend_Interface
- Lock backend interface.
Code
public function lockMayBeAvailable($name);