You are here

public function Redis_Lock_Backend_Interface::lockReleaseAll in Redis 7

Same name and namespace in other branches
  1. 7.2 lib/Redis/Lock/Backend/Interface.php \Redis_Lock_Backend_Interface::lockReleaseAll()

Release all locks for the given lock token identifier.

Parameters

string $lockId = NULL: (optional) If none given, remove all lock from the current page.

2 methods override Redis_Lock_Backend_Interface::lockReleaseAll()
Redis_Lock_Backend_PhpRedis::lockReleaseAll in lib/Redis/Lock/Backend/PhpRedis.php
Release all locks for the given lock token identifier.
Redis_Lock_Backend_Predis::lockReleaseAll in lib/Redis/Lock/Backend/Predis.php
Release all locks for the given lock token identifier.

File

lib/Redis/Lock/Backend/Interface.php, line 52

Class

Redis_Lock_Backend_Interface
Lock backend interface.

Code

public function lockReleaseAll($lock_id = NULL);