You are here

public function Redis_Lock_Backend_Interface::lockWait in Redis 7

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

Wait a short amount of time before a second lock acquire attempt.

Parameters

string $name: Lock name currently being locked.

int $delay = 30: Miliseconds to wait for.

1 method overrides Redis_Lock_Backend_Interface::lockWait()
Redis_Lock_Backend_Default::lockWait in lib/Redis/Lock/Backend/Default.php
Default implementation from actual Drupal core.

File

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

Class

Redis_Lock_Backend_Interface
Lock backend interface.

Code

public function lockWait($name, $delay = 30);