class NullLockBackend

Defines a Null lock backend.

This implementation won't actually lock anything and will always succeed on lock attempts.

Hierarchy

Expanded class hierarchy of NullLockBackend

File

drupal/core/lib/Drupal/Core/Lock/NullLockBackend.php, line 16
Definition of Drupal\Core\Lock\NullLockBackend.

Namespace

Drupal\Core\Lock
View source

Members

Namesort descending Modifiers Type Description Overrides
NullLockBackend::$lockId protected property Current page lock token identifier.
NullLockBackend::acquire public function Implements Drupal\Core\Lock\LockBackedInterface::acquire(). Overrides LockBackendInterface::acquire
NullLockBackend::getLockId public function Implements Drupal\Core\Lock\LockBackedInterface::getLockId(). Overrides LockBackendInterface::getLockId
NullLockBackend::lockMayBeAvailable public function Implements Drupal\Core\Lock\LockBackedInterface::lockMayBeAvailable(). Overrides LockBackendInterface::lockMayBeAvailable
NullLockBackend::release public function Implements Drupal\Core\Lock\LockBackedInterface::release(). Overrides LockBackendInterface::release
NullLockBackend::releaseAll public function Implements Drupal\Core\Lock\LockBackedInterface::releaseAll(). Overrides LockBackendInterface::releaseAll
NullLockBackend::wait public function Implements Drupal\Core\Lock\LockBackedInterface::wait(). Overrides LockBackendInterface::wait